Commit Graph

138 Commits

Author SHA1 Message Date
f6b0086c6c Try alternative when creating directories. 2021-11-21 22:12:45 +01:00
7e5d499b0f Correct usage of variable. 2021-11-21 22:07:51 +01:00
62388637fc Check for existing backup directory. 2021-11-21 22:04:55 +01:00
80a803d9e2 Enhance loop debugging. 2021-11-21 17:50:41 +01:00
4d3eb347ad Enhance loop debugging. 2021-11-21 17:46:24 +01:00
2b6acc66ac Reset debugging. 2021-11-21 17:43:06 +01:00
c4aec1207a Undo debugging of variable. 2021-11-21 17:40:10 +01:00
ace91d73fd Check directory variable. 2021-11-21 17:38:35 +01:00
8a0a7160f6 Try to use python 2 on hetzner server as python 3 is too old. 2021-11-21 17:36:22 +01:00
086687397c Try to use python 3 on hetzner server. 2021-11-21 17:34:06 +01:00
74ed1df5ae Create backup directories for customers. 2021-11-21 17:23:34 +01:00
bf574c22d5 Start playbook for hetzner's server. 2021-11-21 17:00:58 +01:00
3ee74d46cf Recreate vault with secure password. 2021-11-21 14:19:28 +01:00
b149781fb7 Restructure odroid variables. 2021-11-21 11:53:15 +01:00
e0e1898e0f Create backup of nextcloud data. 2021-11-19 13:48:26 +01:00
4bde7e7e60 Extend system variable for redis and vaultwarden. Remove backup of nextcloud-data to use rsync. 2021-11-19 13:37:36 +01:00
f6767e956b Extend volume variable. 2021-11-19 12:25:39 +01:00
be0167fd49 Code formatting for variable names and fix file age for cleaning daily backup . 2021-11-19 12:20:29 +01:00
d208eb176b Adjust cleanup of old files. 2021-11-19 12:17:22 +01:00
cfd0c0100d Extend cleanup of original backup files and do the logrotate. 2021-11-19 12:13:06 +01:00
d42f859743 Reduce loop variable. 2021-11-19 11:52:30 +01:00
42e9aa2515 Rework storing of daily backups. 2021-11-19 11:47:11 +01:00
e889410057 Playing with file filters. 2021-11-19 11:41:28 +01:00
6fedf958cc Playing with file filters. 2021-11-19 11:39:39 +01:00
aa220f5dd4 Fix backup directory. 2021-11-19 11:28:50 +01:00
b52cb880c3 Fix typo. 2021-11-19 11:24:20 +01:00
8e8ba8fa67 Change backup to use all created files not only databases. 2021-11-19 11:21:23 +01:00
754a5ece54 Adjust cleanup of backup files. 2021-11-19 11:01:25 +01:00
f7e80965b6 Add all actual backups to daily logrotate. 2021-11-19 10:53:41 +01:00
073f1f921e Trying rights without become. 2021-11-19 10:31:04 +01:00
2f8a6c2485 Extending privilege escalation. 2021-11-19 10:26:26 +01:00
7a81faced1 Use privilege escalation to change ownership of files. 2021-11-19 10:21:38 +01:00
7b35cdaaaa Correct path for file module. 2021-11-19 10:18:01 +01:00
9da6f0edf8 Use file module instead of shell to change file ownership. 2021-11-19 10:16:41 +01:00
aa82f93975 Add missing loop to ownership task. 2021-11-19 10:12:02 +01:00
992517ba85 Change ownership of volume backups. 2021-11-19 10:10:46 +01:00
809acb9154 Rename paths and backup files. 2021-11-19 10:06:10 +01:00
3d8c565c14 Correct usage of dict lookup when backing up volumes. 2021-11-19 09:58:49 +01:00
b20fba1941 Check loop over dict. 2021-11-19 09:57:24 +01:00
f621b1c7f1 Test backing up volumes with docker busybox. 2021-11-19 09:55:02 +01:00
3ee8a49f51 Volumes variable still not correct 2021-11-19 09:48:27 +01:00
1dc3cc1415 Undo volume variable changes. 2021-11-19 09:47:25 +01:00
f77a0468ec Meet new volumes variable. 2021-11-19 09:43:41 +01:00
05beb5049f Correction of volume variable. 2021-11-19 09:43:11 +01:00
b41d22bcc7 Change usage of volumes variable. 2021-11-19 09:39:54 +01:00
4738c006e3 Change usage of volumes variable. 2021-11-19 09:38:10 +01:00
3b20998948 Check variable for container volumes. 2021-11-19 09:35:48 +01:00
57dfc93272 Extend directories to all containers that must be backed up. 2021-11-19 06:47:42 +01:00
95c04c24d3 Restore database variable. 2021-11-19 06:46:19 +01:00
885fa22773 Variable preparation for backing up volumes. 2021-11-19 06:44:31 +01:00