Commit Graph

15 Commits

Author SHA1 Message Date
Jeremy Gardais 9d88c482e6
Rsync: Don't preserve group/owner 2023-02-10 11:17:13 +01:00
Jeremy Gardais 701b1fc6f4
Exclude lock files/directories from backup 2022-02-09 10:39:56 +01:00
Jeremy Gardais a3c56bcaf7
Fix last exit code with 0 (success)
If it reaches the end, it a success.
2021-04-14 10:17:22 +02:00
Jeremy Gardais bffe5b0a6e
Fix default value for user and group… 2021-04-14 10:15:52 +02:00
Jeremy Gardais d1b2bc5e48
Allow to override default owner and group of backup files 2021-04-14 10:11:54 +02:00
Jeremy Gardais 0fc60ef863
Allow second directory to duplicate backups 2021-04-12 19:37:17 +02:00
Jeremy Gardais 47cab2c053
Rename "local" directory to "first" directory 2021-04-12 19:16:03 +02:00
Jeremy Gardais 1ebd39d86a
Clean backups older than retention time
Command can use default retention time or the one passed as argument.
2021-04-12 19:06:47 +02:00
Jeremy Gardais de9548d9e9
Limit access to backup files 2021-04-12 16:45:18 +02:00
Jeremy Gardais a032babff6
Force hard link (remove existing destination file) 2021-04-12 16:22:42 +02:00
Jeremy Gardais e872fdafaf
Exit if /etc/pve doesn't exist 2021-04-12 16:19:03 +02:00
Jeremy Gardais b8d3c9554f
Create archive and hard link to latest file 2021-04-12 16:18:34 +02:00
Jeremy Gardais 49d0740b7e
Use `test -d` instead of `find` to check directory 2021-04-12 15:54:21 +02:00
Jeremy Gardais a8cadc298e
Manage backup destination path with argument 2021-04-12 15:53:47 +02:00
Jeremy Gardais 72e9c7a98c
Init new script to backup Proxmox /etc/pve 2021-04-12 15:20:00 +02:00