Commit Graph

26 Commits

Author SHA1 Message Date
rick
212c46fb50 remove worl readable from backups 2022-02-03 20:50:41 +01:00
rick
9c91dc660e all containers exept with a 0 at the and should be backed up 2022-01-26 22:57:35 +01:00
rick
1d8f995804 removed optimised storage option
restore should be possible everywhere
2021-10-18 20:07:19 +02:00
rick
517777f38f instead of cloning we stop containers now
cause with big containers we need way to much diskspace for clones.
also the backup job runs at night were no one uses these containers so
they can be stopped without a problem
2021-10-16 00:57:19 +02:00
rick
64c374bf43 delete backups which are older than 14 days 2020-09-18 22:21:17 +02:00
rick
73a4b9cb13 better grep 2020-02-04 23:52:42 +01:00
rick
e14807ce0f forget to exlude backup container 2020-02-04 23:49:16 +01:00
rick
fc5b4a3b74 fixing grep pattern 2020-02-04 23:46:59 +01:00
rick
3ee301750e activate lxc btrfs backup again
backup only containers which ends with -1
2020-02-04 20:29:49 +01:00
rick
2212e77d77 make backup script more verbose -> logging/debugging purpose 2020-02-01 02:10:08 +01:00
rick
4f2df5f023 removed storage option
-> somtimes there are corrupted backups with btfs
2020-01-24 22:30:47 +01:00
rick
8183b65f53 fixed rm command, edit days of keeped backup
-> rm command: {} contains already the full path for deletion
-> days to keep: local nas script delets files which are older than 30
days.. cause of this rsync keeps syncing old files everyday
2019-12-18 22:28:36 +01:00
rick
0bc301b5ad also excluded lxc containers starting with oo 2019-12-03 21:11:39 +01:00
rick
8d92a40536 added lxc as a prefix for backup filenames 2019-10-16 22:55:04 +02:00
rick
73dd51a557 Merge branch 'master' of ssh://dpdocker:23/rick/lxc_backup 2019-09-18 22:17:10 +02:00
rick
dacbcbbec9 exlude test container 2019-09-18 22:17:03 +02:00
rick
8f4ed914b5 fixed find command 2019-08-27 20:30:45 +02:00
rick
8591f84119 set correct backuppath 2019-08-27 20:04:20 +02:00
rick
1a68f32df6 added houskeeping and new backuppath 2019-08-27 19:43:52 +02:00
rick
a6b111af7c another lxc path fix 2019-08-05 20:26:05 +02:00
rick
fae384273f added lxccmd cause cron don't know about lxc command 2019-08-04 22:19:47 +02:00
rick
46d7c1282b added correct test 2019-08-03 23:13:54 +02:00
rick
aa812c456c added some validations 2019-08-03 21:17:48 +02:00
rick
1a394337c7 set correct permissions 2019-08-03 21:00:29 +02:00
rick
159ccb7665 wrote readme, and added chown to script 2019-08-03 21:00:03 +02:00
rick
ab51b83327 first version 2019-08-03 19:16:42 +02:00