[Bacula-users] Backup o files older than.
2012-12-12 18:41:07
I've only got a minute to write this out for you so I'll make it quick:
Toss this into the spot in your fileset where you specify paths for inclusion:
(assuming its unix, linux, etc)
File = "\\|/bin/bash -c \"find /folder/* -daystart -type f -mtime -365
\" "
reload via bconsole
perform a estimate listing via:
echo estimate listing job=<name> | bconsole > joboutput.txt
and see the results, # comment out other Inclusions temporarily to see what
'this' would give you or strip it down and run it on the server in question
directly.
-daystart is very important in some cases
I use this for backups where only specific archives created today from mid
night are required since there is no point going back exactly 24 hours from the
Job when I need today's archives AFTER midnight :P (-daystart is in there for
future reference/use)
+----------------------------------------------------------------------
|This was sent by ccspro AT hotmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Bacula-users] Backup o files older than.,
ccspro <=
|
|
|