s3qlcp [options] <source-dir> <dest-dir>
The s3qlcp command duplicates the directory tree source-dir into dest-dir without physically copying the file contents. Both source and destination must lie inside the same S3QL file system.
The replication will not take any additional space. Only if one of directories is modified later on, the modified data will take additional storage space.
s3qlcp can only be called by the user that mounted the file system and (if the file system was mounted with --allow-other or --allow-root) the root user. This limitation might be removed in the future (see issue 155).
Note that:
Snapshot support in S3QL is inspired by the hardlinking feature that is offered by programs like rsync or storeBackup. These programs can create a hardlink instead of copying a file if an identical file already exists in the backup. However, using hardlinks has two large disadvantages:
S3QL snapshots do not have these problems, and they can be used with any backup program.
The s3qlcp command accepts the following options:
--debug activate debugging output --quiet be really quiet --version just print program version and exit
s3qlcp returns exit code 0 if the operation succeeded and 1 if some error occured.
The S3QL homepage is at http://code.google.com/p/s3ql/.
The full S3QL documentation should also be installed somewhere on your system, conventional locations are /usr/share/doc/s3ql or /usr/local/doc/s3ql.