sync-view.sh: first version

This commit is contained in:
2022-07-13 14:29:21 +02:00
parent c9387f3231
commit d8dde368d2
2 changed files with 327 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
# The only mandatory ones are SOURCEDIR, SERVER, and DESTDIR.
###### source directory full path, destination server and path.
###### SERVER could user@host, or "local" if local machine
###### SERVER could be user@host, or "local" if local machine
# SOURCEDIR=""
# SERVER=""
# DESTDIR=""
@@ -26,6 +26,10 @@ export SOURCEDIR=/example-srcdir
export SERVER=root@backuphost
export DESTDIR=/mnt/nas1/example-destdir
###### backups mount point on local machine.
###### it is used by sync-view.sh only.
export BACKUPDIR=/mnt/backup-example-srcdir
###### backups to keep
# NYEARS=3
# NMONTHS=12