use rsync to backup content and ensure that files deleted on source is not deleted on destination but copied to backup directory example rsync –verbose –progress –stats –compress –recursive –times –perms –links –delete –backup –backup-dir=../backup\ of\ deleted\ content/ –exclude=backup-dir/ rsync\ source/ rsync\ dest/current\ nas\ content/ The –exclude=backup-dir/ is properly not needed If you are […]
Archive for the ‘rsync’ Category
May 23, 2012
0
using rsync to copy files
By thomas in linux, rsyncrsync options to get rsync to report progress: –verbose –progress –stats if copying over network use compression and secure transfer: –compress –rsh=/usr/bin/ssh tell rsync to copy recursively: –recursive keep file timestampts: –times keep permissions: –perms copy symbolic links: –links instruct rsync to delete files on the remote location that isn’t present on the source: –delete […]
Tags: rsync