---
name: "sync_to_snapshot"
section: "1"
platform: "linux"
package: "libvm-ec2-perl"
version: "1.28-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/sync_to_snapshot"
---

# sync\_to\_snapshot(1)

Rsync files to Amazon EC2

## NAME

sync\_to\_snapshot - Rsync files to Amazon EC2

## SYNOPSIS

**sync\_to\_snapshot** Rsync the indicated files and directories to Amazon EC2 and store in a named EBS snapshot. Snapshot will be incrementally updated if it already exists. The Version tag will be updated.

This will use the default EC2 endpoint URL unless environment variable EC2\_URL is set.

## OPTIONS

- snapshot

  Snapshot name (required)

- access\_key

  EC2 access key

- secret\_key

  EC2 secret key

- image

  Server AMI ID (defaults to ami-ccf405a5, Ubuntu Maverick 32bit)

- type

  Server type (defaults to m1.small)

- username

  Username for logging into instance ("ubuntu")

- filesystem

  Type of filesystem to create (bfs,cramfs,ext\*,minix,ntfs,vfat,msdos).

Anything with a /sbin/mkfs.\* executable on the server side will work. Defaults to ext4.

## AUTHOR

Man page: Olivier Sallou \<osallou@debian.org\>
