Make sure that the disk you're copying onto has enough space, or that your internet upload speed is fast enough for uploading as the program copies.
Originally made to sync a directory between an external volume (Elements1TB) to an online disk (in this default case pCloud), its bandwith is limited to make sure pCloud has time to upload files while they are being copied into it.
Need to have rsync installed.
The parameters are set directly inside the script:
- dirToSync: source directory to synchronise
- whereToSync: destination directory where to synchronise the source directory
It replicates exactly the dirToSync directory, meaning:
- the first run can take hours because it needs to copy the whole directory
- subsequent runs will only do what's needed to make sure the destination directory is up-to-date with the source
- if a file is deleted in the source directory, the script will delete it in the destination directory
- if a file is updated in the source directory, the script will copy the newly updated file into the destination directory
- if a file is updated in the destination directory, the script won't replace it with the file in the source directory
It creates a snapshot of a directory and stores it in another directory.
Need to have zip installed.
The parameters are set directly inside the script:
- dirToBackup: source directory to archive as backup
- whereToStoreBackup: destination directory where to store the backup archive
It creates a zip archive of the dirToBackup directory and stores it in the whereToStoreBackup directory.