Hey guys! I was stuck trying to solve a problem with doing Incremental
backup, each time when I try to do it my backup basically looks like a full
backup (same size and the same amount of files). I was trying to take
backup of MongoDB, using RunScript and it works good with full amount,
however with incremental it looks strange
Here is my configuration files:
*Pool { Name = "DB_hidden-pool" Pool Type = Backup Recycle = yes
AutoPrune = yes Recycle Current Volume = yes Recycle Oldest Volume = yes
Volume Retention = 1 days Label Format = "hidden-" Maximum Volume Jobs =
1}JobDefs { Name = "DB_hidden-jobdefs-incr" Type = Backup Level =
Incremental FileSet = "DB_MongoDB-fileset" # Schedule =
"DB_2DayWeeklyCycle" Priority = 10 Write Bootstrap = "%c_%n.bsr"
Messages = Standard Allow Mixed Priority = yes Allow Duplicate Jobs =
yes Allow Higher Duplicates = yes Maximum Concurrent Jobs = 10 Storage =
hz-hidden RunScript { RunsWhen = Before FailJobOnError = yes
Command = "/bin/bash -c 'mongodump --verbose --host localhost --port 27017
--username hidden --password \"`cat /root/.mongodb/pass_mongo`\"
--authenticationDatabase admin --out /mnt/hidden/backups'" } RunScript {
RunsWhen = After RunsOnFailure = yes Command = "sh -c 'rm -rf
/mnt/hidden/backups/*" } Incremental Backup Pool = DB_hidden-pool-incr
Full Backup Pool = DB_hidden-pool Always Incremental = yes Accurate =
yes}Job { Name = "DB_hidden_incr-job" JobDefs =
DB_hidden-jobdefs-incr Description = "Backup of hz-hidden" Client =
DB_hidden-client Maximum Bandwidth = 0 Pool =
DB_hidden-pool-incr}FileSet { Name = "DB_MongoDB-fileset" Description =
"MongoDB Backup" Include { Options { Signature = MD5
Compression = LZ4 noatime = yes } File = "/mnt/hidden/backups"
}}*
Also, in logs of my Backup Job, first time it output that no full backups
was present and it made a full backup but after that it was trying to do
Incremental backup and no errors are present there and everything looks
fine.
Any tips or advices are greatly appreciated
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/18886a87-c2e5-44ae-9f23-be4c15313d6en%40googlegroups.com.