Obnam
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 9: | Line 9: | ||
obnam -r sftp://${REPO_HOST}/${REPO_PATH} --compress-with=deflate fsck | obnam -r sftp://${REPO_HOST}/${REPO_PATH} --compress-with=deflate fsck | ||
obnam -r sftp://${REPO_HOST}/${REPO_PATH} --compress-with=deflate clients | obnam -r sftp://${REPO_HOST}/${REPO_PATH} --compress-with=deflate clients | ||
− | obnam -r sftp://${REPO_HOST}/${REPO_PATH} restore | + | obnam -r sftp://${REPO_HOST}/${REPO_PATH} restore |
</source> | </source> |
Revision as of 12:55, 13 March 2015
Command Reference
REPO_HOST=me@repo REPO_PATH=~/my_files BACKUP_DIR=/home/me/ obnam -r sftp://${REPO_HOST}/${REPO_PATH} --compress-with=deflate backup --deduplicate=verify --root=${BACKUP_DIR} obnam -r sftp://${REPO_HOST}/${REPO_PATH} --compress-with=deflate generations obnam -r sftp://${REPO_HOST}/${REPO_PATH} --compress-with=deflate fsck obnam -r sftp://${REPO_HOST}/${REPO_PATH} --compress-with=deflate clients obnam -r sftp://${REPO_HOST}/${REPO_PATH} restore