Closed opelx closed 4 years ago
so, after some more test, the issue dissappears if I 'remove' the job/restore-NextCloud.conf
. But I'm not sure about the reason in detail.
$ cat -n ./client/nextcloud-fd.conf
1 Client {
2 Name = nextcloud-fd
3 Address = nextcloud-fd
4 Password = ThisIsMySecretFDp4ssw0rd
5 }
$ cat -n ./fileset/NextCloud.conf
1 FileSet {
2 Name = "NextCloud"
3 Description = "Back up Nextcloud dirs and dump MySQL DB"
4 Include {
5 Options {
6 Signature = MD5
7 # Bareos uses https://github.com/bareos/fastlzlib for compression=LZFAST,
8 # compression=LZ4 and compression= LZ4HC
9 # which isn't available on alpine linux (2020, v3.11)
10 Compression = GZIP
11 }
12 File = /var/www/html
13 Plugin = "bpipe:file=/MYSQL/dump.sql:reader=/mysql_bpipe_backup.sh:writer=/mysql_bpipe_restore.sh"
14 }
15 }
$ cat -n ./job/restore-NextCloud.conf.disabled
1 Job {
2 Name = "restore-NextCloud"
3 Description = "Restore Nextcloud files and database"
4 Type = Restore
5 Client = nextcloud-fd
6 FileSet = "NextCloud"
7 Storage = File
8 Pool = Incremental
9 Messages = Standard
10 Where = /
11 ClientRunBeforeJob = "/nextcloud_before.sh"
12 ClientRunAfterJob = "/nextcloud_after_restore.sh"
13 }
$ cat -n ./job/backup-NextCloud.conf
1 Job {
2 Name = "backup-NextCloud"
3 JobDefs = "DefaultJob"
4 Client = "nextcloud-fd"
5 FileSet = "NextCloud"
6 ClientRunBeforeJob = "/nextcloud_before.sh"
7 ClientRunAfterJob = "/nextcloud_after_backup.sh"
8 }
The background about this comes from Bareos Backup Whitepaper.
Edit: Just checked: restore from bconsole
works as expected.
Seems to be known problem, mentioned at https://bugs.bareos.org/view.php?id=1244, so it's not related to the docker version, I close it :)
Hello bareos friends,
there are some restore jobs:
but both aren't shown by the webui
"Restore Jobs" are grayed out. I found an old reference from 2016 and older (e.g. Kein Restore in WebUI but it isn't applicable here since there are no db settings as I found on webui ini files), but they aren't helpful.
Attached my compose file for the case it matters:
Also, my restore job hasn't any specials: