Koozali.org: home of the SME Server

Speed full USB backup

Offline globalsi

  • ****
  • 167
  • +0/-0
Speed full USB backup
« on: March 30, 2017, 11:28:25 AM »
Hi,

I wanted to know if we could speed up the full USB backup ?
I thought for example to decrease (completely or not) the compression level if we have space on the USB disk.
Is it possible to run this full USB backup without using the "console" interface and specify this setting ?

thks

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Speed full USB backup
« Reply #1 on: March 30, 2017, 11:40:08 AM »
is it for "one shot" backup or what?

Offline globalsi

  • ****
  • 167
  • +0/-0
Re: Speed full USB backup
« Reply #2 on: March 30, 2017, 11:49:52 AM »
yes (for migration for example)

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Speed full USB backup
« Reply #3 on: March 30, 2017, 11:57:12 AM »
then use this approach:
https://wiki.contribs.org/Backup_server_config#Cloning_a_server_for_Test_purposes.2C_using_inclusion_.26_exclusion_files

ignore the exclude part (the --exclude flag)

then don't use the z flag on the tar command
at the end you'll have an uncompressed tar file on your usb disk that you can restore using the link you'll find in the same page.. just remember that the archive is not gzipped (and so you have to adapt the extraction command ignoring the z flag)

HTH

Offline globalsi

  • ****
  • 167
  • +0/-0
Re: Speed full USB backup
« Reply #4 on: March 30, 2017, 12:00:53 PM »
thank you very much.  :-P

Offline globalsi

  • ****
  • 167
  • +0/-0

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Speed full USB backup
« Reply #6 on: March 31, 2017, 12:01:00 PM »
sure, but it's a compressed backup

Offline globalsi

  • ****
  • 167
  • +0/-0
Re: Speed full USB backup
« Reply #7 on: March 31, 2017, 12:12:03 PM »
yes but if i put "-1" as value, it will be faster that the "-6" default.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Speed full USB backup
« Reply #8 on: March 31, 2017, 08:14:28 PM »
globalsi

Quote
if i put "-1" as value, it will be faster that the "-6" default.
In theory yes, but the speed gain depends on how many, what size & the type of files on your server (eg already compressed or not compressed ie jpg), as well as CPU speed & power.

There is an alternative method that does not require doing a backup, you restore directly from a mounted disk from the old server, see
https://wiki.contribs.org/UpgradeDisk#Moving_from_SME_8.x_to_SME_9.x
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.