Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: globalsi on March 30, 2017, 11:28:25 AM

Title: Speed full USB backup
Post by: globalsi 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
Title: Re: Speed full USB backup
Post by: Stefano on March 30, 2017, 11:40:08 AM
is it for "one shot" backup or what?
Title: Re: Speed full USB backup
Post by: globalsi on March 30, 2017, 11:49:52 AM
yes (for migration for example)
Title: Re: Speed full USB backup
Post by: Stefano 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
Title: Re: Speed full USB backup
Post by: globalsi on March 30, 2017, 12:00:53 PM
thank you very much.  :-P
Title: Re: Speed full USB backup
Post by: globalsi on March 31, 2017, 11:29:29 AM
Hi,
I've just found this :
https://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter6#Option_8:_Perform_backup_to_USB_device
Is it still valid?
Title: Re: Speed full USB backup
Post by: Stefano on March 31, 2017, 12:01:00 PM
sure, but it's a compressed backup
Title: Re: Speed full USB backup
Post by: globalsi on March 31, 2017, 12:12:03 PM
yes but if i put "-1" as value, it will be faster that the "-6" default.
Title: Re: Speed full USB backup
Post by: janet 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