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.
|