There were some reported non-functioning --delete flag when using rsync in syncronizing two filesystems/locations. This may occur due to failures or errors during rsync tries to sync zero size files. One simple work around for this is using --ignore-errors flag. Some examples for taking backup of user directory:
rsync -vaz -e ssh --delete --ignore-errors user@host:/home/user/ local_dir/
rsync -vaz --delete --ignore-errors /home/user/ /media/disk/backup_dir/
Showing posts with label system admin. Show all posts
Showing posts with label system admin. Show all posts
Wednesday, 15 October 2008
Wednesday, 13 February 2008
Simple scripts: Compressing Files & Cluster Queue Jobs Termination
If you would like to compress your data files or any type recursively you can use this simple perl script [datcompress].
Sometimes it is annoying to delete all your PBS jobs one by one, so simple perl script helps [deleteall].
Sometimes it is annoying to delete all your PBS jobs one by one, so simple perl script helps [deleteall].
Subscribe to:
Posts (Atom)
