On Mon, Oct 16, 2017 at 2:52 PM, Jose Barriga <[email protected]> wrote:
> hi everyone, I have many backups with different dates in the same directory,
> by example: file-2017-10-16.txt , file-2017-10-17.txt, etc. I want to backup
> only the current day, but I do not know how to set the backupOnlyFiles
> parameter. im trying with:
>
> BackupOnlyFiles = file-'$date +%y-%m-%d'.txt
>
> but backuppc does not resolve this format.
> I do not want to back up the whole directory because in each full backup I'm
> going to consume a lot of disk space. any suggest? thanks
>

I think it is possible to evaluate some perl code in the per-host
config files but you'll lose the ability to use the web editor if you
do.  But first, do you understand that backuppc pools all copies of
the files?  That is, if you backed up yesterday's file yesterday and
it is included in today's backup too, you aren't going to take more
space, or even much more time by including it again.  You'll only save
space if you are expiring the backups earlier than you remove the
files on the source system.

-- 
   Les Mikesell
     [email protected]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to