Snapshots
Snapshots aren’t enabled by default — you have to enable them by using the configuration file or command line arguments. To your existing configuration file, just add the following block:
- - Number of seconds to wait before creating another snapshot
atmost
- The maximum number of snapshots to keep
All the created snapshots are stored in a folder in the current directory. The snapshot folders are named in the format: YYYYMMDD-HHMMSS
. On the other hand, are stored in the data/rsnap
folder.
Snapshots can be created automatically by using the configuration file. However, if you want to create snapshots remotely, you can use the MKSNAP action. This will only create snapshots if it is enabled on the server-side, unless you use .
tip
Since snapshots are intended for data backups — you can do a little trick to make these backups offsite-backups: mount a network file system or a different drive and create a folder for storing your snapshots in it. Now, symlink the directory to your remotely mounted directory. You now have offsite backups!