----- Original Message -----
> From: "Bill Arlofski" <waa-bac...@revpol.com>
> To: bacula-users@lists.sourceforge.net
> Sent: Thursday, December 14, 2017 9:35:52 PM
> Subject: Re: [Bacula-users] Is there anyway to get only the lastest file 
> updated from a folder ?

> On 12/14/2017 02:29 PM, Tiago Baptista wrote:
>> Hello, how are you ?
>> 
>> Is there anyway to get only the lastest file updated from a folder ?
> 
> Hi Tiago,
> 
> Yes,   in bconsole type "restore", then choose option 5: "Select the most
> recent backup for a client", then choose the client, and then the fileset to
> restore from.
> 
> The list of files you are presented with will all be the latest versions that
> were backed up.
> 
> Hope this helps,

Hello, Bill & Tiago,

I think he wants to backup last updated file from a folder.
It can be accomplished with the following FileSet Include Directive:

File = "\\|ls -1t /root | head -1"

In this example, root contains the backed up file.

PS: I didn't test.
 
> Bill

Regards,

> --
> Bill Arlofski
> http://www.revpol.com/bacula

-- 
=========================================================================== 
Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 05-001| Bacula 
Systems Certified Administrator II 
• Enterprise Bacula does not charge per backup size and has plugins for many 
applications. In the USA: http://bacula.us/ 
• Do you need Bacula training? http://bacula.us/video-classes/ 
• USA +1 (323) 300-5387 | Brazil +55 (61) 98268-4220 | http://bacula.us 
===========================================================================

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to