Commit Graph

28 Commits (3459c13022386f875f3c133e0871d1e883e2eacd)

Author SHA1 Message Date
Süleyman ŞAHİN ccf65fb50f
Update backup_and_restore.sh (#3493)
Fix error while "Arguments to -type should contain only one letter" on CentOS
2020-04-19 09:56:56 +02:00
Christian Burmeister 25f7ecc542
Update backup_and_restore.sh (#3490)
Upate debian docker image from "debian:stretch-slim" to "debian:buster-slim".
2020-04-18 20:13:38 +02:00
Timo N a63bad41bf
[Helper] Added name to backup and restore containers (#3477) 2020-04-14 14:20:05 +02:00
andryyy e7a8c84c03
[Helper] Remove useless rsync 2020-04-13 21:35:20 +02:00
andryyy 07c7da2821
[Helper] Create tar archives for SQL backups 2020-04-06 18:46:31 +02:00
andryyy 212c18fd08
[Helper] backup fixes 2020-03-29 15:50:29 +02:00
andryyy a71d991c12
[Helper] Fix for numbers in compose project name 2020-03-29 10:45:27 +02:00
andryyy ba246d34cb [Helper] Some minor improvements 2020-03-28 19:50:18 +01:00
Marc-Niclas H f7b94f8d77
Fix restore script not restoring MySQL database on restore (#3383)
* Fix restore script not restoring MySQL database on restore

* Add missing 'type' and 'maxdepth' options to 'find' command in backup and restore script
2020-03-03 20:12:11 +01:00
andryyy a1156c38fc
[Helper] Use mariabackup for SQL 2020-02-26 07:09:56 +01:00
Timo Reymann 3453207301 Make restore not only find .tar.gz but also .gz for mysql backup (#3113)
* Make restore not only find .tar.gz but also .gz for mysql backup

* Fix coment for changed restore

* Fix cosmetic for selection
2019-11-14 09:35:57 +01:00
andryyy ccd9d934d6
[Helper] New parameter --delete-days to delete backups older than n days 2019-10-23 21:41:19 +02:00
Timo Reymann 45aa7b45fc
#2794 Make parts to restore depend on backup folder contents 2019-09-08 12:21:12 +02:00
Timo Reymann 752f2417de
Resolve #2794 Add restore for 'all' 2019-09-08 10:54:21 +02:00
Jeroen Jacobs 91ff9db147
Omits the verbose option for gzip in the backup script
The verbose option dumps a progress percentage to `STDERR`. I'm piping `STDOUT` to `/dev/null` in my backup cron job but I'd like to keep `STDERR` in case something goes wrong. However because the progress gets dumped to `STDERR` by gzip it means it will always look like something went _wrong_.
2019-06-28 22:49:02 +02:00
Harald Glatt 7dc0a05a71 Update all helper scripts to '/usr/bin/env bash' shebang 2019-05-10 15:41:24 +02:00
eXtremeSHOK 8971dc76e9
Make backups rsynacable
references #2308 
```
I have also confirmed the base-image has support for the rsyncable option
root@whitebox:~#  docker run  debian:stretch-slim gzip --help | grep rsyncable
  --rsyncable       Make rsync-friendly archive
```
2019-02-12 15:58:38 +02:00
Alice Ferrazzi 5a56965a48
Create nested directory for backup
/home/myhome/dir1/dir2/ is not a directory
create it now?

The expected result is that it create the folder also if is nested.
2019-02-09 02:11:46 +09:00
Timo N 578e27a66a
Made backup container mounts read only 2019-01-05 00:52:37 +01:00
André 5347009fbb [Helper] Do not use full network name for MySQL backup 2018-10-23 11:07:27 +02:00
André 67b3dec5a2 [Helper] Add MAILCOW_BACKUP_LOCATION as alternative to BACKUP_LOCATION to backup script, fixes #957 2018-10-15 11:37:10 +02:00
André 0fb43f4916 [Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
[Docker API] Create pipe to pass Rspamd UI worker password
[Dovecot] Pull Spamassassin ruleset to be read by Rspamd (MANY THANKS to Peer Heinlein!)
[Dovecot] Garbage collector for deleted maildirs (set keep time via MAILDIR_GC_TIME which defaults to 1440 minutes)
[Web] Flush memcached after mailbox item changes, fixes #1808
[Web] Fix duplicate IDs, fixes #1792
[Compose] Use SQL sockets
[PHP-FPM] Update APCu and Redis libs
[Dovecot] Encrypt maildir with global key pair in crypt-vol-1 (BACKUP!), also fixes #1791
[Web] Fix deletion of spam aliases
[Helper] Add "crypt" to backup script
[Helper] Override file for external SQL socket (not supported!)
[Compose] New images for Rspamd, PHP-FPM, SOGo, Dovecot, Docker API, Watchdog, ACME, Postfix
2018-09-29 22:01:23 +02:00
Maxim Baz ca18ebdb42
Always backup mailcow.conf 2018-07-29 14:31:06 +02:00
André c074597b82 [Backup Script] Fix stderr output 2018-07-09 22:28:09 +02:00
André 3e08416c6d [Helper] Fixes for volume detection of backup/restore script
[Helper] Redis timeout set to 0 in NC
[Helper] Small fixes to check_translations script
2018-04-26 22:57:20 +02:00
andre.peters 686366b9f5 [Helper] Use proper names for volume and container name filters 2018-01-14 20:53:26 +01:00
andre.peters 8d47f5f347 [Helper] Remove interactive and pseudo-TTY switch 2018-01-13 22:09:17 +01:00
andre.peters c07e521309 [Web] Fixes number validation in forms, fixes #882 2018-01-13 18:32:28 +01:00