![]() For example, compressing the mozilla firefox user folder before taking its backup: ![]() Run "man rsync" to see the full range of options exposed by this wonderful command.įinally, another advantage of using a script for backup automation is that you can implement custom actions through the script. Further, the "-delete" option deletes files which are present on the destination backup device, but not on the source device which is typically the case when you want to backup your data. For instance, the "a" or "-archive" option intelligently archives (copies) files while skipping identical ones based on checksum or modification date automatically. The rsync command itself is also versatile enough to do a lot of things which are not possible using a simple copy-paste-replace using a file manager. Rsync -va /home/prahlad/Documents "$folder_name/home/Documents" Rsync -va /home/prahlad/Pictures "$folder_name/home/Pictures" Rsync -va /home/prahlad/source "$folder_name/source"
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |