rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] check date of last backup


From: Alper Ortac
Subject: Re: [rdiff-backup-users] check date of last backup
Date: Sat, 09 Nov 2013 10:01:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

Thanks all for all the quick help. The solution works great and is perfect for my needs.

Best
Alper

On 11/09/2013 02:53 AM, Frank Crawford wrote:
Alper,

Adrian is correct that the last line of the "rdiff-backup -l" is the start time of the last backup.  So you can do "rdiff-backup -l | grep -i current" to get just that time.

Note that as it is the start time, and depending on how you run your backups, e.g. in conjunction with filesystem snapshots, etc, it may or may not include some files that change after this time.

Regards
Frank

On Fri, 2013-11-08 at 10:35 -0800, Adrian Klaver wrote:
On 11/08/2013 10:07 AM, Alper Ortac wrote:
> Thank you. That takes a whole lot of time (40 seconds in my case). Is
> there another possibility to get this information faster? I only need
> the date of the current backup.

Well I just looked at:

rdiff-backup -l

and at the bottom it shows:

Current mirror: Thu Nov  7 18:30:03 2013

which in my case at least was the time of last backup.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]