WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Backup very slow  (Read 2370 times)

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Backup very slow
« on: July 18, 2012, 09:22:47 AM »
I've noticed that the backup is very slow and that mydata.tgz is only 15MB nad located on sda1.
I don't have much in installed at least I don't think so. I only use .files.lst for persistence. No boot codes.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Backup very slow
« Reply #1 on: July 18, 2012, 10:13:11 AM »
Use Control Panel then System Stats and the default tab displays BigHomeFiles.
Use that to decide what to add to .xfiletoo.lst. Likely it is browser database files.

Or open a Terminal window and type
$ filetool.sh -d

The d is for dry-run this will display all files that are included in your backup.
10+ Years Contributing to Linux Open Source Projects.

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: Backup very slow
« Reply #2 on: July 18, 2012, 10:26:30 AM »
34 MB uncompressed
15 MB compressed.

I have my 2 program that is 15 MB and a QT lib that is 12 MB and the rest is not worth mentioning, just basic.
My computer is used in automation industry to control show there is the bare minimal with X and ssh for my program.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Backup very slow
« Reply #3 on: July 18, 2012, 10:31:44 AM »
Why would you include a static file, QT lib, in your backup.
Static content should be repackaged into an extension.
10+ Years Contributing to Linux Open Source Projects.

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: Backup very slow
« Reply #4 on: July 18, 2012, 10:35:21 AM »
Well as of now I don't know how to create extensions and currently the repos only has QT 4.7.4 and I need 4.8.2 so I'm managing it my self. Any ways, I believe the backup was find with these files and then suddenly became slow, like really slow (2 minutes).

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Backup very slow
« Reply #5 on: July 18, 2012, 10:50:51 AM »
Visit the wiki such is not difficult.
10+ Years Contributing to Linux Open Source Projects.

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: Backup very slow
« Reply #6 on: July 18, 2012, 10:53:27 AM »
Of course I will, but you think this is the cause of a 2 minute backup?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Backup very slow
« Reply #7 on: July 18, 2012, 12:56:37 PM »
Well, is it a slow cpu? Compressing 34mb of content can take a while.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11623
Re: Backup very slow
« Reply #8 on: July 18, 2012, 01:33:44 PM »
Hi mbertrand
Quote
but you think this is the cause of a 2 minute backup?
You can easily answer that question yourself.
1. Copy your filetool.lst to filetool.bak.
2. Edit filetool.lst to remove any references to the two programs you are backing up.
3. Open a terminal and enter   time filetool.sh -b
4. Copy the filetool.bak to filetool.lst
5. Run another backup so you don't lose your two programs.
Step three will report how long it took to run your backup.

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: Backup very slow
« Reply #9 on: July 19, 2012, 09:28:40 AM »
My two programs and one QT lib (my big files) total about 30MB. The backup goes from 1m 40s to 0m 14s.
Wow I'm surprised that compression would take that long. Well thanks for your help.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Backup very slow
« Reply #10 on: July 20, 2012, 03:45:50 AM »
You haven't provided any specs neither about your CPU or your write data throughput (bus + medium), but I can't see anything surprising at those values when compressing and writing such large binary files.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Backup very slow
« Reply #11 on: July 20, 2012, 11:56:48 AM »
The fact remains that static content has no useful purpose to be re-written upon every shutdown. It should be read only as provided by moving such out from any backup consideration and into an extension. That is the very purpose of extensions. Using the system as not intended will lead to poor results.
10+ Years Contributing to Linux Open Source Projects.