WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SUGGESTION] timed backups  (Read 1845 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
[SUGGESTION] timed backups
« on: January 07, 2011, 03:06:48 AM »
 ;D
dCore user

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10962
Re: [SUGGESTION] timed backups
« Reply #1 on: January 07, 2011, 06:12:07 AM »
You can do that via cron, su tc -c "filetool.sh -b", IIRC.
The only barriers that can stop you are the ones you create yourself.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [SUGGESTION] timed backups
« Reply #2 on: January 07, 2011, 01:59:25 PM »
Not sure but I had first interpreted the title of thread as showing a timer during backup (like a stop watch).

Perhaps I was prejudiced as recently I had done some benchmarking on backup, including recompressing it with various algorhythms and comparing time and compression rate.

Actually I would love to have something like  a stop watch timer to be used for any purpose.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [SUGGESTION] timed backups
« Reply #3 on: January 07, 2011, 02:30:42 PM »
I didn't have ETA in mind, but a timer like a stopwatch to accurately measure time of some task.

bash script sounds good, except for me not having enough knowledge, and none whatsoever about that mystery syntax involved with awk  :P

Perhaps 'watch' could be used instead of 'echo'?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [SUGGESTION] timed backups
« Reply #4 on: January 07, 2011, 08:20:03 PM »
Very nice!
First the aterm poofed when stopping, now after you edited I see it can work accumulative   ;D

Found another approach in the meantime:
Code: [Select]
time -v  filetool.sh backup

(this would probably only be useful for CLI commands)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: [SUGGESTION] timed backups
« Reply #5 on: January 11, 2011, 04:08:50 AM »
for timed backup I'm using execwatch e17 module/gadget (from e-modules-extra.tcz)
dCore user