Commit Graph

153 Commits

Author SHA1 Message Date
0de059a755 Fetch web backups locally. 2021-11-22 07:39:03 +01:00
f68bfe9f23 Backup web directories. 2021-11-22 07:32:14 +01:00
e37699d9e0 Check if storage must be backed up. 2021-11-22 07:28:21 +01:00
42b117fb9a Collect weekly backups on monday. 2021-11-22 06:09:08 +01:00
0f589445dc Fetch can't work on src directories. 2021-11-22 05:53:16 +01:00
3f598c94bd Use trailing slash to fetch src directory into existing dir. 2021-11-22 05:50:19 +01:00
0f02e6c051 Fix path variable. 2021-11-22 05:48:32 +01:00
23eaa2a36e Get all backups in one step and cleanup afterwards. 2021-11-22 05:47:50 +01:00
431464248e Fetch compressed files to local storage. 2021-11-22 05:39:32 +01:00
164c55e10e Use variable for local backup dir and compress backups. 2021-11-22 05:38:00 +01:00
644fe5c527 Correction for variables. 2021-11-21 22:40:17 +01:00
14813c9b0b Fetch database backups locally. 2021-11-21 22:39:03 +01:00
c71f29c5ed Backup databases. 2021-11-21 22:30:30 +01:00
ed64e9f9fd Fix: Check database variable. 2021-11-21 22:18:30 +01:00
4e6a545b2b Check database variable. 2021-11-21 22:17:54 +01:00
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