You are not logged in.

#1 2009-12-18 14:30:16

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

basic log question

Just trying out backintime. I put it in crontabs and append to a log file. So far so good, but I don't get time or date of the last entry. Here the crontab entry:

*/45 * * * *    backintime -b >>/tmp2/backintime/messages.log

Question: Do I have to fiddle around with the code of backintime to get more info or can I do something in the crontab entry?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#2 2009-12-18 15:09:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: basic log question

You mean like "$(date +"%Y%m%d-%H%M%S").log" or do you need the time/date _inside_ the log?
I don't use backintime so I won't help wrt this particular app.

Offline

#3 2009-12-18 15:21:32

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: basic log question

Yes, _inside_ the log would be handy.

But the log itself is fairly meaningless as it turns out as there is no --verbose option although it uses rsync.

I have also run into other problems with the app in that it does not make backups as scheduled in crontab because it apparently still comparing stuff. Hm, comparing stuff takes a long time - I'm backing up an 800MB folder, no more, no less and that only every three quarters of an hour...


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#4 2009-12-18 15:30:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: basic log question

> Hm, comparing stuff takes a long time
<gasp> With rsync if you don't change the contents much it shouldn't take more than a minute ... If you have a million tiny files it may take more but I guess you would like your backups to run perfectly, so you'd better check what's wrong.

BTW: Although Dillon's cron supports 'every n minutes' you may want to check '45 * * * *'. Are you using the "stock" Arch cron or some other one?

Last edited by karol (2009-12-18 15:37:02)

Offline

#5 2009-12-18 15:41:36

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: basic log question

Nope, not a zillion files - perhaps five deep at the most, more like two or three deep most of the time.

Not sure what you mean by Dillon's cron so I assume I am using the vanilla Arch version - I certainly haven't done anything to it apart from look at the entries provided by KDE (I did use their systemsettings option to do my own backups every 15 mins with rsync) and adjust the backintime entry accordingly.


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#6 2009-12-18 15:51:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: basic log question

> Not sure what you mean by Dillon's cron
It's the one that ships w/ Arch atm. FS#12910 FS#16085

Offline

Board footer

Powered by FluxBB