Koozali.org: home of the SME Server

Backup to SMB fileshare

yehaah

Backup to SMB fileshare
« on: November 18, 2005, 06:50:50 AM »
I'd be estatic if it could be possible to get the SME-server to make nightly backups to a SMB fileshare automatically.

My biggest concern for implementing it at my work, is that I won't have time to backup the contents to my desktop every day, and that the contents are far to large to go on tape.

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: Backup to SMB fileshare
« Reply #1 on: November 18, 2005, 07:32:53 AM »
Quote from: "yehaah"
I'd be estatic if it could be possible to get the SME-server to make nightly backups to a SMB fileshare automatically.

My biggest concern for implementing it at my work, is that I won't have time to backup the contents to my desktop every day, and that the contents are far to large to go on tape.


Search here for 'backup2ws'. I would like to look at making this available in a future release.
............

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Backup to SMB fileshare
« Reply #2 on: November 18, 2005, 10:48:50 AM »
gordonr

> Search here for 'backup2ws'. I would like to look > at making this available in a future release.


That's agood idea, the latest backup2ws contrib appears to be working OK on sme 7 although I have not extensively tested it.
...

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: Backup to SMB fileshare
« Reply #3 on: November 18, 2005, 11:01:34 AM »
Quote from: "RayMitchell"

That's agood idea, the latest backup2ws contrib appears to be working OK on sme 7 although I have not extensively tested it.

Please raise it in the SourceForge bug tracker as a New Feature Request - thanks.
............

yehaah

Re: Backup to SMB fileshare
« Reply #4 on: November 18, 2005, 11:22:53 AM »
Quote from: "gordonr"

Search here for 'backup2ws'. I would like to look at making this available in a future release.


That sounds great, thank you.

Ill look at the b2ws and se if I can use it.

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Backup to SMB fileshare
« Reply #5 on: November 20, 2005, 11:16:13 AM »
Quote from: "gordonr"
Search here for 'backup2ws'. I would like to look at making this available in a future release.


If this is made as part of a future release would the RAR have to be dropped out due to its license (must be licensed  and paid for) within 40 days?

Would the tgz or tar/7zip combination be implemented as a free solution?
............

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: Backup to SMB fileshare
« Reply #6 on: November 21, 2005, 12:34:36 AM »
Quote from: "wellsi"

If this is made as part of a future release would the RAR have to be dropped out due to its license (must be licensed  and paid for) within 40 days?

I haven't looked at the license conditions for RAR. But we would need a distribution friendly license before we can consider including it. We always have to be mindful of the difference between a free "right to use" license and a free "right to distribute" license.
Quote from: "wellsi"

Would the tgz or tar/7zip combination be implemented as a free solution?

I can't think of a reason off-hand why we can't. However, I haven't looked into why RAR was chosen and what benefit it provides.
............

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: Backup to SMB fileshare
« Reply #7 on: November 22, 2005, 06:17:34 PM »
Quote
Would the tgz or tar/7zip combination be implemented as a free solution?

The key functions required when considering a backup2ws archiver replacement are:

1) rock solid reliability
2) retain/restore Linux rights/ownership
3) high performance for fast backup/restore speed
4) ability to create a multiple file archive set of defined segment sizes
5) ability to open/view/extract the multiple file archive set under Windows

Does the combination of tar/7zip meet all the above? I think 1-3 is met but 4-5 is progressively more difficult to meet.

Darrell

dvdsmith

Backup to SMB fileshare
« Reply #8 on: November 23, 2005, 07:28:33 PM »
Darrell,

I can't speak to file spanning archives, but there are a number of freeware Windows compression apps that handle 7ZIP and TAR.  Personally I use Tugzip (www.tugzip.com) and it also works for the RAR files backup2ws generates.  If I may humbly suggest, since rsync looks like it may be removed, would it be a problem to have 7ZIP or TAR as an option if one doesn't need spanning archives?  Just a suggestion.

Dave

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Backup to SMB fileshare
« Reply #9 on: November 23, 2005, 09:17:08 PM »
Quote from: "dvdsmith"
...would it be a problem to have 7ZIP or TAR as an option if one doesn't need spanning archives?

IMO spanning archives are mandatory. This permits easy copying to writable media CD/DVD and to overcome single file size limitations and performance issues. A forum search will find lots of posts discussing file size issues.

Having said this, is anyone wants to enhance backup2ws to support _fill_in_your_favorite_archiver_ that's fine with me. Go for it!

For myself, if someone can point me to a GPL solution that matches all the features I listed above, I'll rebuild backup2ws to support it.

Darrell

Offline gregswallow

  • *
  • 651
  • +1/-0
Re: Backup to SMB fileshare
« Reply #10 on: November 23, 2005, 10:28:57 PM »
Quote from: "dmay"

1) rock solid reliability
2) retain/restore Linux rights/ownership
3) high performance for fast backup/restore speed
4) ability to create a multiple file archive set of defined segment sizes
5) ability to open/view/extract the multiple file archive set under Windows


As for #2, that is the tricky part with using p7zip, as I mentioned on the other thread on contribs.org discussing this - http://forums.contribs.org/index.php?topic=29403.msg122685#msg122685 - p7zip doeasn't natively support the linux file ownerships so they recommend to make a tar archive and then use pzip to compress that, but that can all be done in one command.

As for #4, p7zip has volume support:
  -v{Size}}[b|k|m|g]: Create volumes

As for #5, p7zip is the linux port of what was originally Windows software - the 7-zip (windows) program is at http://7-zip.org/.  I'm sure the windows version can open archives created in linux and vice versa.

RonM

Backup to SMB fileshare
« Reply #11 on: November 23, 2005, 11:35:11 PM »
I had to download 7xip a cpl months back to extract an iso from oszoo.org. Kind of an odd duck, but it works.

It will open a tar.bz file, and then open the tar file and let you access the contents individually. You can even tell it to open the tar file externally, in which case 7zip has winzip open it on my system. Winzip will open most zipped tar and bz and gkzip files on my system.

Offline gregswallow

  • *
  • 651
  • +1/-0
Backup to SMB fileshare
« Reply #12 on: November 24, 2005, 12:39:33 AM »
Quote from: "RonM"
Kind of an odd duck, but it works.

I use it all the time for rar/zip files.  It opens up everything that winrar and winzip do, it's not nagware/shareware, and it also opens up rpms and srpms too.