On 13.11.2017 at 12:40 wrote Maged Shaker:
> OK , i need to take incremental backup every day directory called
> /backup/2017-11-13 and every day the directory changed to aproprate current
> date look like tommorow directory will be /backup/2017-11-14
>
> so i tried to make fileset to take incremental backup the current date of the
> directory as you see below
> FileSet {
> Name = cPanel_Backup
> Include {
> File = |/etc/accounts-bareos
>
> Options {
> signature = MD5
> Compression = GZIP6
>
> }
> }
>
> vi /etc/accounts-bareos
> #!/bin/bash
> echo /backup/`\date \+%F`\/accounts/
>
> but at totally incremental backup not take changes only just take all folder
> again .
>
> that is clear or not ?
more or less.
If each day a new directory appears and you want to backup all
directories, a normal (static) job should be sufficient, as it detects
the new directory automatically. If you only want to backup a
subdirectory in this new directory, you can achieve this by
Include/Exclude statements.
The way you have configured it, it should do a full backup each day, as
you completely changed the fileset and it consists only of one directory.
Anyway, you solution should not backup "all" folders again. Are you sure
it does?
Lets assume the last incremental job has jobid 5.
What do following commands tell you:
list joblog jobid=5
and
list files jobid=4
list files jobid=5
--
Jörg Steffens [email protected]
Bareos GmbH & Co. KG Phone: +49 221 630693-91
http://www.bareos.com Fax: +49 221 630693-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer:
S. Dühr, M. Außendorf, Jörg Steffens, P. Storz
--
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.