Skip to content

Commit

Permalink
backup: sync rsnapshot.conf with backup server
Browse files Browse the repository at this point in the history
Sync `rsnapshot.conf` with what is currently running on the backup
server:
`ssh backup cat /opt/local/etc/rsnapshot.conf > rsnapshot.conf`
  • Loading branch information
richardlau committed Apr 29, 2021
1 parent 5b9b068 commit 3541715
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backup/rsnapshot.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cmd_logger /usr/bin/logger

retain daily 7
retain weekly 4
retain monthly 12
retain monthly 6

verbose 2
loglevel 3
Expand All @@ -21,6 +21,5 @@ ssh_args -p 22 -i /root/.ssh/nodejs_build_backup
cmd_preexec /root/backup_scripts/dist.sh
backup root@ci.nodejs.org:/var/lib/jenkins/ ci.nodejs.org/ +rsync_long_args=--exclude "workspace*"
backup root@ci-release.nodejs.org:/var/lib/jenkins/ ci-release.nodejs.org/ +rsync_long_args=--exclude "workspace*"
backup root@nodejs-www:/var/log/nginx/ www-logs/ +rsync_long_args=--exclude "*.log" --exclude "old/*"
backup_script /root/backup_scripts/benchmark_mysql.sh benchmark/
backup root@direct.nodejs.org:/var/log/nginx/ www-logs/ +rsync_long_args=--exclude "*.log" --exclude "old/*"
backup_script /root/backup_scripts/iptables.sh iptables/

0 comments on commit 3541715

Please sign in to comment.