2024-07-16 15:05:48 +02:00
|
|
|
#!/bin/bash
|
|
|
|
rsync -avz --delete -e "ssh -i /root/backup/backup" /root paserver@backup.zfn.uni-bremen.de:/home/paserver/backup_root/root
|
2024-07-16 18:05:06 +02:00
|
|
|
docker exec -it backup /bin/sh -c 'cd /data/ ; rsync -avz --delete -e "ssh -o StrictHostKeyChecking=accept-new -i /data/backup" /data/backup_docker paserver@backup.zfn.uni-bremen.de:/home/paserver/backup_docker/'
|
2024-07-16 15:05:48 +02:00
|
|
|
|
|
|
|
echo "Backup completed"
|
2024-07-16 18:05:06 +02:00
|
|
|
|