Slashdot Mirror


Online Website Backup Options?

pdcull writes "I can't be the only person on the planet who has this problem: I have a couple of websites, with around 2 GB of space in use on my hosting provider, plus a few MySQL databases. I need to keep up-to-date backups, as my host provides only a minimal backup function. However, with a Net connection that only gets to 150 Kbps on a good day, there is no way I can guarantee a decent backup on my home PC using FTP. So my question is: does anybody provide an online service where I can feed them a URL, an FTP password, and some money, and they will post me DVDs with my websites on them? If such services do exist (the closest I found was a site that promised to send CDs and had a special deal for customers that had expired in June!), has anybody had experience with them which they could share? Any recommendations of services to use or to avoid?"

173 comments

  1. Why not use an online solution? by MosesJones · · Score: 5, Informative

    Rather than "posting DVDs" I'd go for something like Amazon's S3 and just dump the backup to them. Here is a list of S3 Backup solutions that would do the job.

    I've personally moved away from hard-media as much as possible because the issue on restore is normally about the speed to get it back on the server and its there that online solutions really win as they have the peering arrangements to get you the bandwidth.

    --
    An Eye for an Eye will make the whole world blind - Gandhi
    1. Re:Why not use an online solution? by Anonymous Coward · · Score: 0

      Yep. And for almost bare metal solution, s3-curl should do the trick

    2. Re:Why not use an online solution? by beh · · Score: 4, Interesting

      Similarly, I'm not using DVDs etc. for my server backup. A few years back, seeing how much my provider would charge me for a decent amount of backup space, I opted to get an additional server instead; the second server now provides
      secondary DNS, secondary MX to my regular system, but also has all data for a cold-standby ( I would still need to change addresses in DNS manually in case of a disaster, and bring up services, but pretty much all the data is in place).

      The data is synchronised between both servers several times a day - first backed up locally to a second disk on the same machine, then rsynced between the two...

      The solution was cheaper than the cost of the backup, and gives me extra flexibility in terms of what I can do. The only 'cost' is that both machines sacrificed disk space to be back-up for the other (since both machines have >400GB in disk space, giving up even half the disk space of each machine isn't a big limitation - at least, not for *my* needs. YMMV).

    3. Re:Why not use an online solution? by Anonymous Coward · · Score: 0

      what happens if a hacker or script-kiddie gets at your data? Your backup-server will also synchronise the damaged data i guess?

    4. Re:Why not use an online solution? by txoof · · Score: 2, Informative

      S3 is a pretty good option. I've been using the jungledisk client along with rsync to manage offsite home backups. S3 Is pretty cheap and the clients are fairly flexible.

      I haven't played with any remote clients, but your hosting provider can probably hook up one of the many clients mentioned in the parrent. The price of S3 is hard to beat. I spend about $6 per month on ~20 gigs worth of backups.

      --
      This one's tricky. You have to use imaginary numbers, like eleventeen... --Hobbes
    5. Re:Why not use an online solution? by Gazzonyx · · Score: 1

      You could also use S3Backer with an rsync script (or rsnapshot) on the host. That lets you mount the S3 bucket as a drive on your server through FUSE and then copy to it as if it were local. *NIX/BSD only, though.

      --

      If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

    6. Re:Why not use an online solution? by Anonymous Coward · · Score: 0

      Do you not have any friends with a faster connection?

      I backup my website which has a large forum attached to it to encrypted zip files at 3am then FTP this to a read only FTP server hosted on an ADSL line which doesn't belong to me.
      I don't bother with diffs as TBH when the server goes down you want it back fast and pratting about with diffs isn't worth it.
      I have a seperate IP with R/W access to the FTP server with security based on me phoning him to ask him to turn it on. Yeah you may think it crude but it's working fine and it's pretty secure if it aint plugged in!!

      I suppose it helps that bandwidth isn't metered tho, but the full backup for the SQL and website is only about 300Mb per night.
      If your site is bigger than that then you are either making revenue from it or damn well should be!!

    7. Re:Why not use an online solution? by beh · · Score: 4, Insightful

      Sure, it will - but that problem you will have with a provider-based backup as well. If your data gets corrupted without you noticing, your backup will 'save' corrupt data...

      What you can do to at least partially save yourself is to at least make sure the rsync users are jailed and can only rsync to the target directory, not being able to access anything else.

    8. Re:Why not use an online solution? by ghoti · · Score: 3, Informative

      JungleDisk's built-in backup can also keep older versions of files, which is great in case a file gets corrupted and you only discover that after a few days. It's dirt cheap too, $20 for a lifetime license on an unlimited number of machines.

      For this to work, you need to be able to run the jungledisk daemon though, which is not an option with some shared hosting plans. Also, to mount the S3 bucket as a disk, you obviously need root access. But if you do, JungleDisk is hard to beat IMHO.

      --
      EagerEyes.org: Visualization and Visual Communication
    9. Re:Why not use an online solution? by alexgieg · · Score: 2, Informative

      . . . to mount the S3 bucket as a disk, you obviously need root access. But if you do, JungleDisk is hard to beat IMHO.

      Not really. If the server kernel has FUSE enabled, and the user space tools are installed, any user member of the related group can mount a "jungledisked" S3 bucket in his userspace without the need for root access.

      --
      Conservatism: (n.) love of the existing evils. Liberalism: (n.) desire to substitute new evils for the existing ones.
    10. Re:Why not use an online solution? by Anonymous Coward · · Score: 0

      I hope your ISP's data center does not burn, get flooded, or broken into...

    11. Re:Why not use an online solution? by teknopurge · · Score: 1

      100% Agreed. We started using Vaultwise for our servers and laptops and couldn't be happer. We spoke with some of their engineers and they have some kind of CDP that they are going to release that does block-level backups. Very cool stuff. I don't know why, nowadays, why anyone wouldn't want their backups accessible online.

    12. Re:Why not use an online solution? by Anonymous Coward · · Score: 0

      Just for the record: EVERY single comment in this thread refers to some online backup service ignoring the OP's request for finding services that send the backup data to him on DVDs. What part of 150 kb/s connection and 2GB website to backup don't you understand?

    13. Re:Why not use an online solution? by Anonymous Coward · · Score: 0

      I'm sure this isn't just coincidence... But LifeHacker has an article about this *today*.

      http://lifehacker.com/399740/how-to-back-up-your-web-server

    14. Re:Why not use an online solution? by Gazzonyx · · Score: 1

      FOSS S3Backer uses FUSE to mount a bucket as a disk :)

      --

      If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

    15. Re:Why not use an online solution? by billcopc · · Score: 1

      Ditto, a live clone is perhaps the easiest solution for online backup. I've been doing this for quite some time now. My servers have cyclical rsync setups, each one is backed up to the next in the chain (geographically dispersed too!). They're ready to failover if that's ever needed (cross fingers). Considering one can lease a (puny) dedicated server for $30-40, it's pretty darned easy. You could even go with a VPS if you don't care about the CPU resources.

      --
      -Billco, Fnarg.com
    16. Re:Why not use an online solution? by A+nonymous+Coward · · Score: 1

      And your comment ignores the fact that every single one of these suggestions bypasses his slow home connection by backing up across the web to a different online site. His bandwidth problem is to his home, not from his web site.

      These are all good suggestions to solve his primary problem, which is how to backup his site somewhere else. Maybe his DVD question is how he thinks of doing it, but it isn't necessarily the only or even the best way to do it. It is entirely possible that a bit of thinking outside the box will do him better than answering the narrow question he asked.

    17. Re:Why not use an online solution? by merreborn · · Score: 2, Informative

      Similarly, I'm not using DVDs etc. for my server backup. A few years back, seeing how much my provider would charge me for a decent amount of backup space, I opted to get an additional server instead

      It's important, when using this method, that your second server be in a separate datacenter.

      Duplicating your data is only half of a backup plan. The other half is making sure that at least one of those duplicates is in a physically separate location.

      There are many things that can conceivably take down entire datacenters -- theft, bankruptcy, utility outages, floods, fire, earthquakes...

      While these things are somewhat unlikely, they *do* happen, and you don't want to lose years of work if they do.

    18. Re:Why not use an online solution? by quicktell · · Score: 1

      I was wondering if you could help with setting up my secondary mx, I seem to be having some problems and any help would be appreciated...

    19. Re:Why not use an online solution? by Anonymous Coward · · Score: 0

      1) Encrypt the data if you store it on another person's system (especially since you are sending it via FTP).
      2) If you have something from T1 to T3 speeds, it will take 2-3 hours assuming optimal bandwidth use and no overhead (both being unlikely events). Take steps to keep the database consistent over that time.
      3) To a certain extent, you are getting what you pay for. Try a better web host.

    20. Re:Why not use an online solution? by michelcultivo · · Score: 1

      I use s3-bash solution where I can code my backup scripts and use S3 like if the disk was plugged on the server. http://duivesteyn.net/2008/amazon-s3-backup-for-webserver-public_html-sql-bash/ It's provide me backup history and I can get the file where I want.

    21. Re:Why not use an online solution? by beh · · Score: 1

      True - in my case, when I discussed it with the provider in question - we agreed (in the first instance) that the second server would be housed in a different server room from the first. That would still keep it within the same provider, but in separate power-loops / fire protection areas /...

      It's a first step... ...the second step was to go for a third machine with a different provider... ;-)

  2. Why FTP? Use rsync. by NerveGas · · Score: 5, Informative

    It seems like the only problem with your home computer is FTP. Why not use rsync, which does things much more intelligently - and with checksumming, guarantees correct data?

    The first time would be slow, but after that, things would go MUCH faster. Shoot, if you set up SSH keys, you can automate the entire process.

    --
    Oh, you're not stuck, you're just unable to let go of the onion rings.
  3. Sure you need to back the full 2 gig? by sleeponthemic · · Score: 2, Interesting

    Presumably, much of that 2 gig of data is static, so perhaps you could look into minimisation of exactly *what* you need to back up? It might be within the realm of your net access.

    --
    I record my sleeptalking
  4. bqinternet by Anonymous Coward · · Score: 2, Informative

    We use http://www.bqinternet.com/
    cheap, good, easy.

  5. yeah, use rsync. by SethJohnson · · Score: 5, Insightful

    I 100% agree with NerveGas on the rsync suggestion. I use it in reverse to backup my laptop to my hosting provider.

    Here's the one thing to remember in terms of rsync. It's going to be the CURRENT snapshot of your data. Not a big deal, except if you're doing development and find out a week later that changes you made to your DB have had unintended consequences. If you've rsynced, you're going to want to have made additional local backups on a regular basis so you can roll back to one of those snapshots prior to when you hosed your DB. Apologies if that was obvious, but rsync is the transfer mechanism. You'll still want to manage archives locally.

    Seth

    1. Re:yeah, use rsync. by Bert64 · · Score: 4, Informative

      Then what you need is rdiff-backup, works like rsync except it keeps older copies stored as diffs.

      As for FTP, why the hell does anyone still use ftp? It's insecure, works badly with nat (which is all too common) and really offers nothing you don't get from other protocols.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    2. Re:yeah, use rsync. by xaxa · · Score: 5, Informative

      Then what you need is rdiff-backup, works like rsync except it keeps older copies stored as diffs.

      Another option is to use the --link-dest option to rsync. You give rsync a list of the older backups (with --link-dest), and the new backup is made using hard links to the old files where they're identical.
      I haven't looked at rdiff-backup, it probably provides similar functionality.

      Part of my backups script (written for zsh):

      setopt nullglob
      older=($backups/*(/om))
      unsetopt nullglob

      rsync --verbose -8 --archive --recursive --link-dest=${^older[1,20]} \
                              user@server:/ $backups/$date/

    3. Re:yeah, use rsync. by Anonymous Coward · · Score: 0

      See the rsync man page, rsync can keep older versions (as diffs or hardlinks). Using a frontend like dirvish might be prefereable.

    4. Re:yeah, use rsync. by Lennie · · Score: 5, Informative

      There is also the --backup --backup-dir options (you'll need both). It keeps a copy of the files that have been deleted or changed, if you use a script to keep it in seperate directories you'll have a pretty good history of all the changes.

      --
      New things are always on the horizon
    5. Re:yeah, use rsync. by xaxa · · Score: 2, Informative

      Also, rsync has a --bwlimit option to limit the bandwidth it uses.

    6. Re:yeah, use rsync. by Anonymous Coward · · Score: 0

      Rsync to transfer, then local snapshots are an easy and solid way to go. Remember to dump your database and put it somewhere in the filesystem which is being backed up. I use dirvish for the local backups. It uses hardlinks, so files that dont change dont require space (though its not as small as pure diff). But it gives you a snapshot of the full fs at the time of the backup,which is very useful. You can set retention for each "vault", letting you change just what to keep, for how long.

    7. Re:yeah, use rsync. by spinkham · · Score: 1

      rdiff-backup makes incremental diffs of individual files, which saves a lot of space for large files which have small changes like database backups, virtual machine images, and large mailspools.
      On the other hand, the rsync schemes are somewhat more straightforward to deal with if you don't have much space in such files.

      --
      Blessed are the pessimists, for they have made backups.
    8. Re:yeah, use rsync. by fireboy1919 · · Score: 1

      Or...use subversion to actually store your data. If you use FSFS format (the filesystem version of SVN, which IMHO is better than the embedded database format because it doesn't occasionally get corrupted), all data is actually *stored* as diffs anyway.

      You can actually do an rsync of the live data, and it'll work perfectly, and never overwrite things you need.

      If you're worried about past versions, you should be using source control, so IMHO, this is a better option than an almost-source control one like rdiff-backup.

      --
      Mod me down and I will become more powerful than you can possibly imagine!
    9. Re:yeah, use rsync. by Culture20 · · Score: 2, Informative

      Using hard links, you can make multiple trees using only the storage space of the changed files. Here's one example: http://www.mikerubel.org/computers/rsync_snapshots/

    10. Re:yeah, use rsync. by NMerriam · · Score: 1

      Then what you need is rdiff-backup, works like rsync except it keeps older copies stored as diffs.

      When it works, that it. The problem with rdiff-backup is that ultimately it's a massive script with no error-checking, and if anything ever goes wrong (including just the network having difficulty), you have to "fix" your backup, and then start over again. Of course the process of fixing usually takes twice or three times as long as actually performing the backup, so you can wind up with a backup that's impossible to continue since you're spending more time working around the limitations of the script than you are actually transferring backup data.

      This is a field that really needs a decent commercial piece of software with a full-time developer.

      --
      Recursive: Adj. See Recursive.
    11. Re:yeah, use rsync. by mlush · · Score: 1

      Here's the one thing to remember in terms of rsync. It's going to be the CURRENT snapshot of your data.

      Rsnapshot may be an option. It creates a sucession of snapshot directory's but only one copy of each file (hard linking to make up the difference)

    12. Re:yeah, use rsync. by Firehed · · Score: 1

      A lot of cheap hosts don't allow for SSH/SCP connections.

      --
      How are sites slashdotted when nobody reads TFAs?
    13. Re:yeah, use rsync. by thegrassyknowl · · Score: 1

      rdiff-backup makes incremental diffs of individual files, which saves a lot of space for large files which have small changes like database backups, virtual machine images, and large mailspools.

      And rsync with the link-dest option uses hard links, which occupy exactly the space for the inode they are using and no more.

      A diff is a small file which occupies a small amount of space on your disk - a non-zero sized file will occupy at least 4k depending on the size of your file system.

      Hard links use up a single inode and no more. Why mess about with diffs when you can change into a directory and see yesterday's backup? Don't like yesterdays? Change into another and see the day before that. The depth is limited by the number of inodes you have in your filesystem / number of inodes used in filesystem being backed up.

      --
      I drink to make other people interesting!
    14. Re:yeah, use rsync. by merauder · · Score: 1

      I use rsync through ssh and have set keys up so no passwords are needed. I have a couple of cronjobs, 1) Dump each database into its own tar.gz file with todays datestamp, rsync them over to the backup server. 2) Second cronjob clears out the local backups once a month, and another cronjob clears out the backups older then 8 months every year. Works pretty well.

      --

      ..and knowing is half the battle.

    15. Re:yeah, use rsync. by spinkham · · Score: 1

      If you have a 40 gig VM image, and you modify 1 bit, your scheme will add 40 gigs.
      rdiff-backup will add one bit + some small overhead.
      This is huge win for some users, not so much for others.
      For servers with large database dumps which are mostly static, it can be a large win.

      --
      Blessed are the pessimists, for they have made backups.
    16. Re:yeah, use rsync. by doodleboy · · Score: 1

      Hard links use up a single inode and no more. Why mess about with diffs when you can change into a directory and see yesterday's backup? Don't like yesterdays? Change into another and see the day before that. The depth is limited by the number of inodes you have in your filesystem / number of inodes used in filesystem being backed up.

      Agree completely. Disk space is cheap as dirt anyway.

      I'm using rsync to mirror about 300 GB on 300+ remote partitions, with snapshots going back up to a month, depending. I have 8 fairly low-end boxes doing about 40 partitions each. Normally all boxes finish in 90-100 minutes.

      Total cost for this project was less than 20k. Bids from commercial vendors for similar functionality were much, much higher.

    17. Re:yeah, use rsync. by vanyel · · Score: 1

      rsnapshot takes care of managing the snapshots for you as well...

    18. Re:yeah, use rsync. by Mr.+Slippery · · Score: 1

      Here's the one thing to remember in terms of rsync. It's going to be the CURRENT snapshot of your data...you're going to want to have made additional local backups on a regular basis so you can roll back to one of those snapshots prior to when you hosed your DB.

      rsnapshot may be the tool for you..."Using rsync and hard links, it is possible to keep multiple, full backups instantly available. The disk space required is just a little more than the space of one full backup, plus incrementals."

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    19. Re:yeah, use rsync. by this+great+guy · · Score: 1

      Or snapshot the filesystem after each rsync. This is what I do with ZFS snapshots, it works wonderfully well... Other than ZFS, snapshots are supported by LVM on Linux and UFS1 and UFS2 on FreeBSD. The idea of combining rsync and ZFS snapshots has been first talked about on the zfs-discuss mailing list about 2 years ago.

    20. Re:yeah, use rsync. by ncc74656 · · Score: 1

      A lot of cheap hosts don't allow for SSH/SCP connections.

      How do you get your stuff up there without scp? If their answer is "use FTP," they need to go out of business yesterday. (I suppose they could use a web form served up over HTTPS to manage your space, but that'd quickly get annoying for any non-trivial website.)

      --
      20 January 2017: the End of an Error.
    21. Re:yeah, use rsync. by Anonymous Coward · · Score: 0

      I 100% agree with NerveGas on the rsync suggestion. I use it in reverse to backup my laptop to my hosting provider.

      Here's the one thing to remember in terms of rsync. It's going to be the CURRENT snapshot of your data. Not a big deal, except if you're doing development and find out a week later that changes you made to your DB have had unintended consequences. If you've rsynced, you're going to want to have made additional local backups on a regular basis so you can roll back to one of those snapshots prior to when you hosed your DB. Apologies if that was obvious, but rsync is the transfer mechanism. You'll still want to manage archives locally.

      Seth

      Once he gets the data down to his local machine then backup options are opened up, much more bandwidth at home than between home and colo.

  6. Re:Why FTP? Use rsync. by Andrew+Ford · · Score: 2, Informative

    Or simply use rsnapshot. However whatever backup solution you use, make sure to create dumps of your databases as backing up the database files while they are in use will give you backup files you cannot restore from. If you backup your database dumps, you can exclude your databases files from the backup.

  7. Re:Why FTP? Use rsync. by Anonymous Coward · · Score: 0

    either setup a rsync client in your home machine, or have someone backup your site for you (read: http://www.rsync.net/)

    And if you want to have rsync at your windows machine, follow the instruction here: http://www.gaztronics.net/rsync.php

    By doing rsync, you can turn on and off the backup process, it will pick it up where it was. And when you have full copy of your entire site in your local drive, next time, it will only be the incremental backup of it.

    And for mysql, you can use mysqldump (http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html)

  8. Re:Why FTP? Use rsync. by noob749 · · Score: 1

    yeah, i say rsync and mysql replication would work nicely. of course you have to look into them and decide if they meet your needs, but i think you'll find it's probably good enough.

  9. Gmail backup by tangent3 · · Score: 3, Informative

    You may have to use extra tools to break your archive into seperate chunks fitting Gmail's maximum attachment size, but I've used Gmail to backup a relative small (~20mb) website. The trick is to make one complete backup, then make incremental backups using rdiff-backup. I have this done daily with a cron job, sending the bz2'ed diff to a Gmail account. Every month, it will make a complete backup again.

    And a seperate Gmail account for the backup of the mysql database.

    This may be harder to do with a 2GB website, i guess, since Gmail provides atm about 6GB of space which will probably last you about 2 months. Of course you could use multiple gmail accounts or automated deletion of older archives...

    But seriously, 2GB isn't too hard to do your from own PC if you only handle diffs. The first time download would take a while, but incremental backups shouldn't take too long unless your site changes drastically all the time.

    1. Re:Gmail backup by Anonymous Coward · · Score: 5, Insightful

      This strikes me as a really dumb thing to do; as both a) using it for data storage rather than primarily email storage and b) signing up for multiple accounts are both violations of the gmail TOS, you are just asking for your backups to not be available when you most need them.

    2. Re:Gmail backup by MentalMooMan · · Score: 1

      GmailFS might be an option, too.
      Wikipedia concludes that it "should not be considered reliable for backup purposes", though.

      --
      43rd Law of Computing:
      Anything that can go wr
      fortune: Segmentation violation -- Core Dumped
    3. Re:Gmail backup by LiquidFire_HK · · Score: 2, Interesting

      While I certainly don't claim using Gmail for backup is a smart thing to do, can you point out where in the ToS this is stated, as I looked through it and see no mention of either restriction?

    4. Re:Gmail backup by TheRealJFM · · Score: 1

      Create multiple user accounts in connection with any violation of the Agreement or create user accounts by automated means or under false or fraudulent pretenses

      So it's illegal to create more than one account if you're breaking the rules in some other way - not specifically illegal on it's own. The terms don't mention using it for anything other than email, though...

      See the program policies and terms of use.

      --
      Joseph Farthing
      http://josephfarthing.com
    5. Re:Gmail backup by hesaigo999ca · · Score: 1

      Care to share some of your code for this technique, as it seems very interesting, and short of doing it myself, if you already have done it, would be very practical. If interested just comment me back and maybe we can make a deal.

    6. Re:Gmail backup by hesaigo999ca · · Score: 1

      Not if I have it triple redundant on hotmail and yahoo at the same time. Also make sure to have multiple accounts for each type of library

  10. Wow by crf00 · · Score: 5, Insightful

    Wow! So you are asking somebody to download your website's home folder and database, look at the password and private information of members, and deliver you dvd that is ready to be restored with rootkit along?

    1. Re:Wow by teknikl · · Score: 5, Funny

      Yeah, I had noticed the complete lack of paranoia in the original post as well.

    2. Re:Wow by pdcull · · Score: 2, Interesting

      That's why I'd want somebody realiable. My hosting provider could steal my info too if they really wanted too, although I certainly trust them not to. Oh, I'm paranoid alright... it's just that living in a Rio de Janeiro slum, as I do, my paranoia is more about things like flying lead objects...

    3. Re:Wow by KingOfBLASH · · Score: 1

      It's not difficult to set up a user with read-only access to mysql, and read only access to your entire web content. Since apache just basically points to a directory (or directories depending on how you set it up), to restore a backup you just copy the static content to /var/www/html/ (or wherever it's stored), and load up the MySQL data. That's it -- no possibility for a rootkit, and who cares if they have your password -- they only have read only access. I would guess if there was anything particularly sensitive in the OP's server, they wouldn't be looking for such a service.

    4. Re:Wow by Anonymous Coward · · Score: 0

      Most modern webapps have the user password hashed. So good luck with that :) As for the rootkit, that's up to the service provider ;)

    5. Re:Wow by ivoras · · Score: 1

      It doesn't have to be that way. Here's some free advertizing for a fellow FreeBSD developer: TarSnap offers high-grade encryption over the wire and on the storage, incremental backups, and it also uses Amazon S3.

      --
      -- Sig down
  11. I had the same problem... by cperciva · · Score: 4, Interesting

    After looking at the available options, I decided that there was nothing which met my criteria for convenience, efficiency, and security. So I decided to create my own.

    I'm looking for beta testers: http://www.daemonology.net/blog/2008-05-06-tarsnap-beta-testing.html

  12. rsync - it's in the tag by DrogMan · · Score: 5, Informative

    rsync to get the data, cp -al to keep snapshots. I've been using this for years to manage TB of data over relatively low-speed links. You'll take a hit first-time (so kick it off at night, kill it in the morning, and the next night just execute the same command and it'll eventually catch up, then cp -al it, then lather rinse, repeat. This page: http://www.mikerubel.org/computers/rsync_snapshots/ has been about for years. Use it!

    1. Re:rsync - it's in the tag by xehonk · · Score: 2, Interesting

      And if you dont feel like writing scripts yourself, you can use rsnapshot, which will do all of the work for you.

    2. Re:rsync - it's in the tag by MMC+Monster · · Score: 1

      rsync is definitely your friend. Check out the man pages and look up some examples on the net. (The command line options I use are rsync -avurtpogL --progress --delete, but YMMV.)

      --
      Help! I'm a slashdot refugee.
    3. Re:rsync - it's in the tag by bot24 · · Score: 1

      Or rdiff-backup which stores the latest version and diffs instead of using cp -al.

  13. Re:Why FTP? Use rsync. by Sophia+Ricci · · Score: 2, Informative

    Yes. rsync is lot better, I always use it. I personally use rsync with -z option to compress and decompress the files on the fly, which improves speed a lot, most of files being text files.

  14. Re:Why FTP? Use rsync. by houghi · · Score: 3, Insightful

    Many hosting providers do not have this option and not even sftp. :-/

    So that makes that you are stuck with FTP or need to change hosting provider, which is also not always an option.

    --
    Don't fight for your country, if your country does not fight for you.
  15. Give them here by Lord_Sintra · · Score: 5, Funny

    Send me your FTP details and some cash and I'll...backup...your data.

  16. Backuppc.sourceforge.net by star3am · · Score: 2, Informative

    Unbelievable Backup Software, BackupPC, it uses Rsync, and will solve all your troubles, it's truly amazing backups/restore solution, check it out .. all the best! Riaan

  17. I sure hope you're no UK based... by jonnyj · · Score: 4, Informative

    ...because if you are and you're planning to sent personal data (there can't be many 2GB web sites that contain no personal data at all) on DVD through the mail, you might want to look at recent pronouncements from the Information Commissioner. A large fine could be waiting for you if you go down that route.

    1. Re:I sure hope you're no UK based... by Anonymous Coward · · Score: 0

      Better transport it using train in UK...

  18. Sitecopy by houghi · · Score: 2, Informative

    I would seperate the content. First there is the MySQL part. Export it on a daily basis (or more often). You can export it as a whole or only those parts that you desire. Make a php page for each thing you desire to download and protect it however you like.
    Then point lynx to it to download the file.

    The content is another matter. To update my sites I use sitecopy What I do is make the site localy and when I am ready, I run sitecopy and it will upload the site.
    As I do incremetial backups localy, I do have the previous version there.
    If this is not an option, it should not be too hard to use sitebackup to, uh, backup the site.

    Put all this in a script and crontab should do the rest.

    --
    Don't fight for your country, if your country does not fight for you.
  19. Have you even bothered to look at some backup scri by R4nm4-kun · · Score: 0, Redundant

    Ok, since it doesn't seem to be a big website, it's probably on a shared host, so more complex backup software isn't an option in most cases.
    Php backup scripts should work on any shared host, try looking at these scripts: http://www.absoft-my.com/pondok/sitebackup.php http://phpclasses.betablue.net/browse/package/3585.html

  20. SquirrelSave by Lord+Grumbleduke · · Score: 1

    I use a product called SquirrelSave:

    http://www.squirrelsave.com/

    which uses a combination of rsync and SSH to push data to the backup servers. The client is currently only for Windows at the moment, but with promises of a Linux and OS X version coming soon.

    It generally works quite well - WinSCP is included to pull data back off the servers.

    1. Re:SquirrelSave by Lord+Grumbleduke · · Score: 1

      Unfortunately I just read the post - properly. SquirrelSave doesn't (yet) support server OSes according to the web site. Sorry 'about that.

  21. Use a host that does better backups? by Anonymous Coward · · Score: 0

    Have you considered changing hosting providers to one that offers a better backup solution? There are hosts out there that take several hourly, daily and weekly httpdocs backups along with daily mysql dumps and binary logs to provide point-in-time database backups. I know this because I work for a hosting provider that does just this: http://www.ayudahosting.com.au/faqs/hosting/ (see the last FAQ).

    As for posting DVD's, I'd suggest contacting your hosting provider and asking them if they would be willing to do it for you every month or so. Getting your hosting provider to do this for you eliminates the need to transfer the data etc. We often get requests like these and are always more than happy to assist.

  22. How quickly do you need it back? by jimicus · · Score: 4, Insightful

    One thing a lot of people forget when they propose backup systems is not just how quickly can you take the backup, but how quickly do you need it back?

    A sync to your own PC with rsync will, once the first one's done, be very fast and efficient. If you're paranoid and want to ensure you can restore to a point in time in the last month, once the rsync is complete you can then copy the snapshot that's on your PC elsewhere.

    But you said yourself that your internet link isn't particularly fast. If you can't live with your site being unavailable for some time, what are you going to do if/when the time comes that you have to restore the data?

  23. Dropbox? by Anonymous Coward · · Score: 0

    I use dropbox.. and even though it's in beta, you get 10GB of space for free :D

    http://getdropbox.com/

  24. Switch Web Hosts -- Proper Backups are a MUST by flithm · · Score: 1

    I'm in agreement that an rsync based offsite backup solution is always a great idea. rdiff-backup or duplicity is the way to go.

    That being said, proper backups is a must that any web host should provide. I used to use dreamhost and they did incrementals and gave you easy access to them. Some time ago I outgrew shared hosting and went to slicehost which offers absolutely awesome service and although backups cost extra, they do full nightly snapshots, and it's all easy to manage (restore, take your own snaps, etc) via a nice web interface.

    Seriously, take your money where your mouth is: find a better host -- AND do your own offsite rsync based backups.

    1. Re:Switch Web Hosts -- Proper Backups are a MUST by Anonymous Coward · · Score: 0

      Example: Peak10 works with Iron Mountain for backups of hundreds of servers. You would need to supply hardware.

  25. Re:Why FTP? Use rsync. by v1 · · Score: 3, Informative

    I use rsync on a few dozen systems here, some of which are over 1TB in size. Rsync works very well for me. Keep in mind that if you are rsyncing an open file such as a database, the rsync'd copy may be in an inconsistent state if changes are not fully committed as rsync passes through the file. There are a few options here for your database. First one that comes to mind is to close or commit and suspend/lock it, make a copy of it, and then unsuspend it. Then just let it back up the whole thing, and if you need to restore, overwrite the DB with the copy that was made after restoring. The time the DB is offline for the local copy will be much less than the time it takes rsync to pass through the DB, and will always leave you with a coherent DB backup.

    If your connection is slow, and if you are backing up large files, (both of which sound true for you?) be sure to use the keep-partial option.

    One of my connections is particularly slow and unreliable. (it's a user desktop over a slow connection) For that one I have made special arrangements to cron once an hour instead of once a day. It attempts the backup, which is often interrupted by the user sleeping/shutting down the machine. So it keeps trying it every hour it's on, until a backup completes successfully. Then it resets the 24 hr counter and won't attempt again for another day. That way I am getting backups as close to every 24 hrs as possible, without more.

    Another poster mentioned incrementals, which is not something I need here. In addition to using a version of rsync that does incrementals, you could also use something off-the-shelf/common like retrospect that does incremental but wouldn't normally work for your server, and instead of running that over the internet, run it on the local backup you are rsyncing to. If you need to go back in time a bit still can, but without figuring a way to jimmy in rsync through your network limits.

    --
    I work for the Department of Redundancy Department.
  26. If you use wordpress, I have a solution for you by vbanos · · Score: 1

    In you use wordpress for your site, you can use blogreplica.com, an online blog backup service which was created with this specific goal in mind. blogreplica.com connects to your blog using XML-RPC and retrieves all the content to its servers where you have full access to it any time. Maybe this works for you

  27. why not try ... by Anonymous Coward · · Score: 5, Funny

    NSA.gov?
    NSA: We backup your data so you won't have to!

    How it works:
    First, edit each page on your website ab add the following meta tags: how-to, build, allah, infidels, bomb (or just any of the last three, if you're in a hurry).

    On the plus side, you don't need to give them your money, nor your password.

    On the minus side ... there is no minus side (I mean, who needs to travel anyway?)

    Posting anonymously as I have moderated in this thread (that, and they already know where I live).

    1. Re:why not try ... by noidentity · · Score: 1

      I hear you can also have your phone conversation backed up by saying any of those keywords. Hell, I believe you can even dictate a to-do or grocery list just by picking up the phone and talking; no need to even dial. BTW, thanks for requesting that they back this thread up. It's good to keep the useful responses around forever.

    2. Re:why not try ... by Hillgiant · · Score: 1

      Retrieving the backups can be problematic.

      --
      -
  28. MyDisk by plaz_swe · · Score: 1

    Free service with great support for MacOS, Linux and Windows. Features 2GB free disk space, WebDAV, SFTP, HTTPS and more. Also has a nice easy-to-use picture viewer for sharing photos. https://mydisk.se/web/main.php?show=home&language=en

  29. Try Manent by gsasha · · Score: 1

    Consider Manent (http://trac.manent-backup.com , freshmeat entry: http://freshmeat.net/projects/manent). It can currently back up local directory to a remote repo, so you can easily set it up to run at your server to back up to your home, and in the future it will be able to back up an FTP directory.
    It is extremely efficient in backing up a local repository. A 2GB working set should be a non-issue for it. I'm doing hourly backups of my 40-G home dir.
    Disclaimer: I am the author :)

  30. SVN/rdiff-backup/rsync by Anonymous Coward · · Score: 0

    Other posters mentioned rsync (which I agree with). You might also look into rdiff-backup. Another backup option is SVN. The nice thing about these options is that once you get the initial (0-level) backup they will only upload the changes. So, assuming that you are not updating things all the time, any of these options will work well even over 150KB connection.
     

  31. Actually, his only problem is.... by raehl · · Score: 4, Insightful

    ... his slow internet connection, and wants to pay something to not have to move files over his slow internet connection.

    How about:

    - Pay for a hosting provider that DOES provide real backup solutions....
    - Pay for a real broadband connection so you CAN download your site....

    As with most things that are 'important'...

    Right, Fast or Cheap - pick two.

    1. Re:Actually, his only problem is.... by s0litaire · · Score: 1

      2 slight problems with your comments... 1) He may be in a location that has Crud connection to the 'Net 2) That might be the best speed his area provides... :D apart from those 2 points I agree with you. He should get a better Web Host :D

      --
      Laters Sol "Have you found the secrets of the universe? Asked Zebade "I'm sure I left them here somewhere"
    2. Re:Actually, his only problem is.... by pdcull · · Score: 2, Informative

      Yep... I didn't mention in the question that I'm in the middle of a favela (slum) in the hillside morro (slum) in the interior of Rio de Janeiro, Brazil... My host is in the US...

    3. Re:Actually, his only problem is.... by gfxguy · · Score: 2, Informative

      Nevertheless, as others have mentioned, if your data is fairly static, then the initial backup might be painful, but then backing up only changes shouldn't be too difficult.

      I've never really understood some of the problems that come along, mainly because I'm not a website developer (only as a personal thing). If you develop your site locally and then upload it, all your pages and codes and images should already be on your own computer.

      If you get a lot of dynamic content (people uploading media or writing thing in a blog or something), then I can see the problem.

      In your case, unless you can convince your provider to run a utility to mount Amazon's S3 and then give you shell level access instead of just FTP, then I don't see how that will work for you (many web sites use S3, but I don't think it's possible in your position).

      So that leaves option 1: get a better provider. But even that doesn't help, does it, because now you have to move all your stuff to a new provider.

      You're really stuck. Maybe you can pay for temporary shell level access to a server somewhere that does have a lot of speed. I don't know. Looks like you will probably have to suck it up and do some really long, slow backups, regardless of your solution.

      --
      Stupid sexy Flanders.
    4. Re:Actually, his only problem is.... by Anonymous Coward · · Score: 0

      In the real world, only about half the people in the US can download greater than 150k.
      So, I find that people do not have slow internet because they are stupid, they have a slow internet connection because there is nothing else available.
      If you, and most of the rest of the U.S. computer industry (of which I am a 25-year member), would pull your cranium out of your rectum and actually educate yourself on the REAL state of high-speed internet, those of us without high-speed internet would have computers and connections which aren't unusable to us:
      farmerchet.blogspot.com/2008/06/sins-of-rural.html
        Imagine that everytime you hear ANYTHING about a web service or computer game you have to roll your eyes because there is no way to access the bandwidth needed to use it.

  32. What an AMAZING coincidence by Anonymous Coward · · Score: 0

    Just at the same time this story hits slashdot, I see a bunch of stories on reddit/digg about 10/20/100 ways to back up your web site!!!111 What an AMAZING coincidence. There couldn't possibly be any business interests in this.

  33. Shared hosting by DNS-and-BIND · · Score: 4, Interesting

    OK, I keep hearing "use rsync" or other software. What about those of us who use shared web hosting, and don't get a unix shell, but only a control panel? Or who have a shell, but uncaring or incompetent admins who won't or can't install rsync? I know the standard slashdot response is "get a new host that does" but there are dozens of legitimate reasons that someone could be saddled with this kind of web host.

    --
    Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    1. Re:Shared hosting by lukas84 · · Score: 2, Insightful

      there are dozens of legitimate reasons that someone could be saddled with this kind of web host.

      No, sorry. Not a single one.

    2. Re:Shared hosting by pimpimpim · · Score: 1, Insightful

      Either find a competent provider that already has the tools to do backups preinstalled. Or catch up on your (your technician's) system administration skills, If you have a serious business at your website, you should know what you are doing. The same goes for carpentry or someone who owns a car shop. You just don't get your money for nothing, you know.

      --
      molmod.com - computing tips from a molecular modeling
    3. Re:Shared hosting by fireboy1919 · · Score: 1

      If you're storing the website *only* on a hosting provider that won't give you a shell, and don't have a complete copy of the entire site in your hands at all times, you've got a much bigger problem.

      That is a very good sign that you're at a fly-by-night hosting company that's going to lose all your data. If you're worried about backup, you should pony up and get a decent hosting provider.

      But that is probably something worth addressing anyway. Fortunately, there are many things similar to rsync that will work over http or ftp on freshmeat, though I've never used them.

      --
      Mod me down and I will become more powerful than you can possibly imagine!
    4. Re:Shared hosting by Lumpy · · Score: 3, Interesting

      Write PHP or ASP code to generate your backups as a tar or zip and get the files that way.

      When you pay for the economy hosting, you gotta write your own solutions.

      --
      Do not look at laser with remaining good eye.
    5. Re:Shared hosting by azemon · · Score: 1

      there are dozens of legitimate reasons that someone could be saddled with this kind of web host.

      Choice of hosting company tells me a lot about how the site owner views his own site. If he is unwilling to spend a few bucks on a quality host then he obviously places very little value on his web site. And if the site owner values his site so poorly, why are you worried about backups?

    6. Re:Shared hosting by yup2000 · · Score: 1

      I used to have the same problem and the two options I've used very successfully are rsync (with link-dest and --partital)

      if you don't have ssh, then use wget - just copy the url's from your cpanel backup page:

      (take this example - which was sanitized from a backup script... it should "almost" work :) )
      wget -q --http-user USER --http-password x y http://www.YourSite.com/backup-YourSite.com-`date +%m-%d-%Y`.tar.gz

    7. Re:Shared hosting by DNS-and-BIND · · Score: 1

      How about "my company assigned me this mess". How about "I have to use this crappy provider for geographic reasons (inside the Great Firewall of China)". I got 6 replies so far, and not one helpful one, just the typical Slashdot crap of "durrr, wave your magic wand and make everything all right" instead of "well, that's a tough one, let's figure out how we might be able to do this and hack out a solution." Nope, it's either throw money at the problem or nothing.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    8. Re:Shared hosting by Anonymous Coward · · Score: 0

      You get a control panel?! Luxury.

    9. Re:Shared hosting by DNS-and-BIND · · Score: 1

      Control panel != Cpanel. Cpanel is merely one of many.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    10. Re:Shared hosting by yup2000 · · Score: 1

      either way, cut and paste the backup url links, supply user name, passord and your done. Make alittle more than alot of sense to me :P

    11. Re:Shared hosting by lukas84 · · Score: 1

      Because in this case, it is cheaper to solve the problem directly than hacking together a half-working solution that breaks every second day.

      If you have to work for four hours on this one, your company has already spent more money on the problem than it would cost to get a decent web host.

      Get some balls and stand up to your bosses - having professional integrity also means that sometimes you have to say "No, you'll have to pay up".

      Hack when it's necessary. Pay when it's possible.

    12. Re:Shared hosting by DNS-and-BIND · · Score: 2

      I love when I ask a question, and the question gets totally ignored and people insist on the exact thing that I specifically excluded as an answer. Thanks, slashdot!

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    13. Re:Shared hosting by DNS-and-BIND · · Score: 1
      OK buddy, why don't you find a shared web host that is: A) in the PRC, B) has an English control panel, C) offers shell access, D) has English-speaking administrators who will happily install whatever software you need, and E) doesn't cost a fortune. Aw heck, go ahead and find one that costs a fortune, after all, it's just a shared host, why not blow a lot of cash on it? Oh yeah, and it has to be unix-based, when 99% of hosts out there are Windows. And it should offer spam protection, too, because the PRC gets a ton of spam. Let me know what you come up with.

      Oh, you mean such a thing doesn't exist? And we might have to make do with what's available, instead of insisting on some fairy tale host that only exists in the USA? Gosh, we won't be doing that...that might tell you a lot about how the site owner views his own site. Obviously, such a man places very little value on his own website.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    14. Re:Shared hosting by Anonymous Coward · · Score: 0

      Can we quit calling cheap hosting incompetent? Why do I want ANYONE at my business spending even 5 minutes on the phone with a customer who's giving me $4/month.

      There's a reason "You get what you pay for" is cliche.

    15. Re:Shared hosting by rhizome · · Score: 2, Insightful

      I love when I ask a question, and the question gets totally ignored and people insist on the exact thing that I specifically excluded as an answer.

      I agree that there are countless legitimate reasons why you would be "saddled" with a Control Panel based webhost. There are also countless legitimate reasons not to continue using that host, having backup requirements that the webhost doesn't support is one of them. Maybe not so explicitly stated by the flowering examples of conventional wisdom above, but if you're going to mysteriously exclude "Run. Fast. Now." from your list of acceptable answers then you run the risk of painting yourself into a corner.

      Business continuity undergirds much of system administration, much more than choice of webhost, but if you are unable to make a business case for why the company should change webhosts in terms of, "If something happens, we're screwed," then you should at least not be excluding rational choices and at most should not be dealing with the BC issues of the company.

      I don't know how cheap webhosts go, but your implication is that there is no two-way communication allowed with the server itself, possibly there's just an "Upload Site" file selector in the Control Panel? If so, then you need to realize that you have only client-level access and so your backups are going to be client level. If you need anything on the backend like DB dumps then you need a way to get to them, which you don't seem to have.

      If, as you allow in your question, the host does in fact give you a shell but no rsync then the answer is simple: "scp -r". For database backups you'll either need a DB interface or utility to do your dumps, or be able to copy the datafiles themselves (janky and unreliable quality). For low-bandwidth situations a good stopgap would be to get a shell host from which you can copy your backups to another location over a larger pipe.

      --
      When I was a kid, we only had one Darth.
    16. Re: Shared hosting by Anonymous Coward · · Score: 0

      I'd rather go for .tar.bz (aka .tbz), or .tar.gz (aka .tgz) if CPU is sparce. ZIP won't get you the same compression, and you probably want your backup file as small as possible for transmission...

    17. Re:Shared hosting by sootman · · Score: 3, Informative

      > OK, I keep hearing "use rsync" or other software. What
      > about those of us who use shared web hosting, and
      > don't get a unix shell, but only a control panel?

      As long as you've got scriptability on the client, you should be able to cobble something together. Like, in OS X, you can mount an FTP volume in the finder (Go -> Connect to Server -> ftp ://name:password@ftp.example.com) and then just

      rsync -avz /Volumes/ftp.example.com/public_html/* ~/example_com_backup/

      (Interestingly, it shows up as user@ftp.example.com in the Finder but the user name isn't shown in /Volumes/.)

      AFAIK, pretty much any modern OS (even Windows since 98, AFAIK) can mount FTP servers as volumes. OS X mounts them as R/O, which I always thought was lame, but that's another rant.

      > Or who have a shell, but uncaring or incompetent
      > admins who won't or can't install rsync?

      If you've got shell (ssh) access, you can use rsync. (Not over telnet, natch. If that's all you've got, look at the workaround above.) Rsync works over ssh with nothing more than

      rsync -avz user@example.com:~/www/* ~/example_com_backup/

      Use SSH keys to make life perfect.

      Or, google for 'site mirroring tool'. Many have an option to only download newly-changed files.

      To get your databases, make a page like

      print "<table border='1' cellpadding='5' cellspacing='0'>\n";
      for ($row=0;$row<mysql_num_rows($result);$row++) {
          print "<tr>\n";
          for ($col=0;$col<mysql_num_fields($result);$col++) {
              print "<td>";
              print mysql_result($result,$row,$col);
              print "</td>\n";
          }
          print "</tr>\n";
      }
      print "</table>\n";

      and download that every so often.

      For the original poster, who was complaining about downloading many gigs over a slow link, just rsync over and over until its done--if it drops a connection, the next attempt will start at the last good file.

      And if you've got a control panel, look for a button labeled 'backup'! My host uses CPanel and there's a magic button.

      Final option: how did the data get onto the www server in the first place? Isn't there already a "backup" on your local machine in the form of the original copies of all the files you've uploaded? If you haven't been backing up in the first place, well, yeah, making up for that might be a little painful. (Note: if your site hosts lots of user-uploaded content, ignore any perceived snarkiness. :-) )

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    18. Re:Shared hosting by mjtiernan · · Score: 1

      I use spBackup to create a tar... http://www.skypanther.com/spbackup.php

    19. Re:Shared hosting by DNS-and-BIND · · Score: 1

      Wow! Thanks for an actual helpful response. I'm going to implement some of this. Yeah, I do get some user-uploaded content (drupal site) and everything worthwhile is in the database dump anyhow.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    20. Re:Shared hosting by DNS-and-BIND · · Score: 1

      There are cheap hosts that aren't incompetent. Total Choice Hosting is a great one, but it's in the States.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    21. Re:Shared hosting by XHIIHIIHX · · Score: 1

      > but uncaring or incompetent admins who won't or
      > can't install rsync

      You can install rsync in your home dir as well. It doesn't need root permissions.

      > and don't get a unix shell, but only a control panel

      wget -m to an actual computer springs to mind. Cygwin might also appeal to windose users.

      If you don't get rsync and have dynamic data that you can't wget, and your control panel doesn't offer a backup button, well, time for a new provider.

    22. Re:Shared hosting by XHIIHIIHX · · Score: 1

      If you do this, use torrentzip because your diff files will be much smaller.

    23. Re:Shared hosting by Anonymous Coward · · Score: 0

      I work for a webhost and I can't think of any legitimate reasons to stick with one over another.

      Especially one that would refuse to allow you to make it easy to backup your site.

      Where I work we do monthly backups, but charge for restoration (not sure why, pretty ridiculous price too), but we do provide shell access to all customers.

    24. Re:Shared hosting by booch · · Score: 1

      I think you might be missing their point.

      You're asking something like "how do I get my 1972 Pinto to go 120 mph?" Admittedly you could put in a new engine, new brakes, new transmission, etc. But you'd end up spending more time and money than if you just bought a car that goes 120 mph, and has less problems. That's what people are trying to tell you -- it's really not worth the effort. It's fine if you don't want to take their advice, and just want to make your Pinto go 120. But don't complain when they don't want to help you do something senseless.

      --
      Software sucks. Open Source sucks less.
    25. Re:Shared hosting by sootman · · Score: 1

      Thanks. Glad I could help. That's why we all come to slashdot--for the occasional spike in the S:N ratio. :-) Reply here if you've got any other questions. I've got many years of experience stringing together surprisingly useful things from sub-optimal components.

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    26. Re:Shared hosting by chrysrobyn · · Score: 1

      OS X mounts them as R/O, which I always thought was lame, but that's another rant.

      Nobody should ever be using ftp anyway. You have the ssh solution, which is great. But there are folks who insist on using the ftp thing. I've got to plug for MacFusion, which tosses a GUI at FUSE and sshfs. It makes OSX use ssh mounted volumes transparently. For those with more hosted disk space than $DEITY (I'm looking at you, Dreamhost), this is a great way to do offline file storage for people who are more of the "drag and drop" type than the "learn how to use fsync" type.

  34. rsync.net by Anonymous Coward · · Score: 1, Informative

    rsync.net --- online backup provider with sshfs/sftp/webdavs/scponly support

  35. Why not use Suso? by suso · · Score: 3, Informative

    Sorry for the self plug, but this just seems silly. Your web host should be backing up your website and offer you restorations. I guess this isn't a standard feature any more. But it is at Suso. We backup your site and databases everyday. And can restore them for you for free.

    1. Re:Why not use Suso? by cdrudge · · Score: 4, Insightful

      One thing that I've learned though is you can not rely on a hosting company's backup to necessarily be timely, reliable, and/or convenient. If you want to backup multiple times during the day, have multiple generations of backups, be able to very quickly restore if need be, all can make the hosting backup unattractive. I'm not saying yours is that way, just with some of the hosting companies I've dealt with in the past.

      This also doesn't take into consideration the best-practice of having your backups off-site for disaster recovery. It doesn't help very much to have your backup server/drive/whatever 1U down in the rack when the building collapses, has a fire, floods, etc destroying everything in it.

    2. Re:Why not use Suso? by Lumpy · · Score: 2, Interesting

      Because most sites have 2 failure points.

      1 - they buy the super cheap service with no backup.

      2 - the site is designed poorly with no backup capabilities.

      If your site has a DB, your site better have a admin function to sump the DB to a tgz file you can download. Mine generates a password protected rss feed and encrypted tgz file (in a password protected area.) I simply have a rss reader/retriever configured to watch all my sites and retrieve the backups when they are generated.

      I get that DB and any user/customer files, all is well. the site it's self I uploaded so it's silly to back it up works great and I don't care if all I get is 150kbps because it can go for 3 days for the weekly backup, and incremental take less than 2 hours.

      --
      Do not look at laser with remaining good eye.
    3. Re:Why not use Suso? by Firehed · · Score: 1

      That RSS approach is, quite frankly, brilliant. Care to share the source?

      --
      How are sites slashdotted when nobody reads TFAs?
    4. Re:Why not use Suso? by ncc74656 · · Score: 1

      Your web host should be backing up your website and offer you restorations.

      If you're paying for managed hosting, yes. If you're using an unmanaged VPS (like me), not so much. Some of them will image your VPS on demand and store that image for recall if your system is FUBARed. For mine, I just have a daily rsync job running on a Mac mini at home (less power consumption than most, so it runs 24/7) that pulls down my email and websites. Another job creates and rsyncs database dumpfiles. I should probably keep a copy of /var/lib/portage/world and other config files as well so I can rebuild with minimal pain if needed (yet another item for the to-do list...).

      --
      20 January 2017: the End of an Error.
  36. Check out Conduit or use rsync with ssh by dtrick · · Score: 1

    If you are subscribed to say Box.net, using Conduit is one possibility. Making a compressed tar.gz backup with rsync shouldn't take that long--it's the file transfer that will at 150K. If you cron a daily/weekly unattended overnight backup with rsync over ssh that downloads (sftp -b batch) to your pc, that might be best. Your backup needs to take into consideration any database back-end. I just use mysqldump to output the entire database to a gzipped file. Lot's of examples on the net. Google is your friend. Good Luck. Dietrich T. Schmitz Linux IT Consultant www.dtschmitz.com

  37. Get a shell by Anonymous Coward · · Score: 0

    Get a shell and set up a chron job to ftp your data at reasonable involves. Many ISPs that provide data center services also offer back up solutions. Did you do any investigation before posing this question?

  38. Re:Why FTP? Use rsync. by Anonymous Coward · · Score: 0

    If you are using rsync you could also buy space from rsync.net. Very cheap drive space and you can then rsync from your webserver to another location.

  39. What about 'incompetance'? by dtrick · · Score: 0, Troll

    nt

    1. Re:What about 'incompetance'? by Auntie+Virus · · Score: 1

      Um, that's incompetence.

      --
      Why yes, I *AM* new here. Why?
  40. finding net services by Anonymous Coward · · Score: 0

    If you are willing to consider pay services, I have had great experience using a free service (colotraq) that helps get you exactly what you are looking for when it comes to internet/telecom/etc services. They are like lending tree or real estate agent - they don't do the stuff them self, they just have some giant b2b marketplace. And - No, I do not work for them, just really have done well with them.

  41. Online backup is a better solution by darkhalcon · · Score: 1

    As many stated before I think you have better options. Many backup services can give you "Delta", or "Incremental" backups. For each backup only data that has changed gets uploaded. The advantages to this are lower bandwidth, and the ability to have restore points. If you check around there are many companies that offer this.

  42. Dirvish by leonbloy · · Score: 1

    ... or give a look at Dirvish. It uses rsync and keeps full snapshots using hardlinks for unachanged files. Works like a charm for me.

  43. S3 costs about $300 per TB by giafly · · Score: 1

    If you keep your backups for one month, S3 costs about $300 per TB. That's not a bad price for offsite backup that's easily accessible from both your main and disaster recovery servers.
    price list

    --
    Reduce, reuse, cycle
    1. Re:S3 costs about $300 per TB by billcopc · · Score: 1

      Maybe I'm just the king of cheap, but I find $300/TB rather excessive, considering I could rent out a massive file server for less. There's a certain charm to the S3 solutions since you can use a turnkey service to do the actual backup grunt-work, but the big problem with Amazon's services is they're only cost-effective for small or short-run projects.

      I just ran the numbers for one of my existing web servers, and the same service delivered via Amazon's S3 would cost me over $1500, largely because of their $0.15/gb bandwidth price. My bandwidth costs me a tenth of that... now if Amazon could sanitize their per-gb price, and offset it with a fixed "base cost" kinda deal, it would level the playing field and make their service more attractive to bulk users like myself.

      --
      -Billco, Fnarg.com
    2. Re:S3 costs about $300 per TB by STFS · · Score: 1
      Well, or you could just not use Amazon S3 for your big ass project.

      I like the fact that I can use S3 and only pay for what I use, even if it means that it wouldn't be cost efficient for me to do that if my usage goes through the roof.

      Don't think of S3 as your "one and only" storage solution. Think of it as a great starter kit and possibly an excellent addition to your existing infrastructure.

      For example, I know that a rather big video sharing site uses S3. I'm not sure what the details are exactly in their case but perhaps storing the very popular videos locally but offloading the rest to S3 for storage and infrequent access works for them?

      Bottom line is, this is the service that they offer. If it doesn't fit your needs either adjust your needs to fit their offering or, even simpler, don't use their offering.

      --
      You don't think enough... therefore you better not be!
  44. Ditto for rsync.net by gregraven · · Score: 1

    I've been using rsync.net for more than a year, and it works great. I back up four websites from one server -- files and MySQL databases -- each night, each week, and each month, and only once did the backup not work as planned. Good tech support, too.

    --
    Greg Raven
    As long as there's any left, I'll take mine first.
  45. Thanks for your comments... by pdcull · · Score: 5, Informative

    Hi everyone, I didn't mention in my question that where I'm living (Rio de Janeiro slum) there aren't that many options for internet access. Also, as all my sites are my very much not-for-profit, I'm limited as to how much I can spend on my hosting plan. I've been using Lunarpages for a number of years now, and generally find them very good, although if I stupidly overwrite a file, or want to go back to a previous version of something, I'm out of luck. As I am a lazy (read time-challenged) individual, I tend to use Pmwiki and maintain my sites online, hence my need for regular, physical backups. Anyway, thanks everyone for your help, I still can't help thinking that somebody must be able to make a pile of cash offering such as service to non-techie site owners...

    1. Re:Thanks for your comments... by Koyaanisqatsi · · Score: 1

      Hi there,

      for NGOs, cash will always be a problem.

      Tip: the rsync option some mentioned is really easy to get going once you set it up. The first time you synch to your home PC, you have to download the whole thing, so expect to take a while for that to happen. The next time, only the changed bits are downloaded, so it will really happen rather quickly.

      How to implement it, non-techie style: get a linux geek from the local university labs to help you out, shouldn't be hard do find someone knowledgeable who you can thrust. Make sure you change the account pwd once everything is up and running, just in case ;)

      One caveat: if you cannot run rsync within your hosting environment, you may not be able to go down that route.

      Good luck!
      ~koyaanisqatsi

    2. Re:Thanks for your comments... by JCYPHER+0101 · · Score: 1

      Hey kdawson/pdcull, I recently wrote a script to backup a clients multiple websites to an alternative website. The script handles backing up whatever directories you want backed up, as well as a mysql backup of all databases. It uses ssh & rsync to do this on a scheduled basis. Give me a call if you want to talk - my website is http://visionsencoded.com/ with my contact info. (my client referred me to your post ;-). Anyways - not to familiar with slashdot - hope that this post is ok... if not, well, just do some searching for "rsync backup script" or something like that - lotsa previously done stuff out there. Cheers

    3. Re:Thanks for your comments... by matthewboh · · Score: 1

      Use S3 - you can install Amanda most of the time and it's incredibly cheap. It costs me $0.16 / month to back up my PC and two servers!

  46. TarSnap by ivoras · · Score: 1

    From the BSD camp (or at least one of the developers), there's TarSnap, which offers very high encryption and confidentiality, and also incremental backups (via snapshotting).

    --
    -- Sig down
  47. Online Backup in the UK by nmg196 · · Score: 1

    Here in the UK we use an online backup company called Perfect Backup. You just install a bit of software on each machine and it backups according to your own schedule. The best thing is, it does a binary diff of each file and only sends the changed parts of the file so conserving bandwidth. It's pretty configurable. The pricing seems pretty good too compared to some other providers. It's more expensive than people like Carbonite, but then this is a *business* grade product with support for things like Exchange, SQL Server etc and if you ring them, they pick up the phone after a couple of rings!

  48. Re:Why FTP? Use rsync. by thegrassyknowl · · Score: 1

    So that makes that you are stuck with FTP

    wget --mirror?

    LFTP's scripted system allows mirroring the backup and only getting files that have changed. With some server-side scripting to dump database diffs it wouldn't be hard to make a FTP backup solution that only downloaded changed files.

    --
    I drink to make other people interesting!
  49. and there you have it by dtrick · · Score: 1

    no text

  50. remote backup by Anonymous Coward · · Score: 0

    duplicity (for the paranoid) or rdiff-backup and rsync.net.

    Btw, ftp is a plain text protocol, why do people still use it over the internet?

  51. A very nice-looking solution by Kru)(fen · · Score: 1

    From a site slashdotted on another post today:

    A solution using rsync + a smart trick with hardlinks to provide changes history.
    He also uses loopback filesystems to save the backup on windows servers keeping file permissions/ownership. Definetely worth taking a look:

    http://ttsiodras.googlepages.com/backup.html

    this sounds like a very good solution. Okay, it would still be a pain over a slow connection if you need to restore, but assuming your provider's backup can be used as a starting point, it should be fine ;)

  52. I offer this service by Stonent1 · · Score: 1

    What is your FTP login and bank account information? I will require a cashiers check for $5000 for a processing fee, an afterwards will deposit 5 million dollars in an escrow account in your name. My e-mail address is formerdeceasednigerianoilminister@hotmail.com

  53. Backup at hosting provider? by Vadim+Makarov · · Score: 1

    How about getting a hosting provider that does backup? I've been using pair.com for my sites for several years. They have about daily or twice-daily recent snapshots on the same server (that you can access yourself if you need to), then on-site backup, then off-site backup. As far as I know they don't ship those to customers, but this doesn't look to me like a very big risk. I haven't had to use any of the backups, and I think they haven't had any (big) loss of data since they went online more than ten years ago, as far as I can infer from reading the user groups. Of course you are at the mercy of the provider should a disaster happen, but is this really that much risk if they manage it properly?

    Shameless $0.2 plug: if you get an account at pair, sign up through this affiliate link :) http://promote.pair.com/direct.pl?vad1.com+63035

    --
    17779 eligible voters in a district, 17779 'vote' as one. This is Russia.
  54. A few things to ask yourself. by getclear · · Score: 1

    In order to properly facilitate a backup schema that will work for you, there are some important questions I would ask as a consultant to start offering suggetions.

    1. What is the host OS?
    2. What level of access is provided to the host OS?
    3. What OS level utilities are already in place to facilitate backups?
    4. What budget constraints are factored in?
    5. What options are currently provided by the host?
    6. What is the data that needs to be backed up?
    7. Databases: Can you commit/lock/backup/unlock these databases to provide data integrity to a degree?
    8. Timelines: What timelines need to be kept for the data.
    9. Static data: Will weekly increments suffice?
    10. Dynamic data: Will daily increments suffice?
    11. What is the acceptable CDE (Collateral Damage Estimate) for data loss? (1% or less)
    12. What sensitive or privacy act data needs to be encrypted, if moved insecurely over wire?
    13. Is archiving necesarry, or can the data be recycled in conjunction with the timeline structured backups?
    14. Can you do it yourself?

    There are more questions but that will give us a start in helping you get a real solution that will help YOU out.

  55. brackup by burris · · Score: 1

    I looked into this recently. There are a lot of commercial offerings. However, the only thing I found was 1) FLOSS, 2) had S3 support out of the box, 3) had a storage format that was documented and simple enough to restore without the software or even the docs, and 4) didn't use "mystery crypto" was some software called "brackup" from Brad Fitzpatrick of LiveJournal and memcached fame ("brackup" = "brad's backup.")

    Brackup is written in perl using good OO practices and is very hackable. The file format is non-binary and very simple. I was able to figure it out and restore some files by hand without looking at the documentation (just an S3 browser, a copy of GPG and my key, and a text editor.) It uses GnuPG to encrypt unattended backups without risking the secret keys.

    One cool thing about Brackup is it has a "plugin" architecture for special handling of certain filetypes. It comes with a plugin for handling MP3's that backs up the ID3 tags separately from the sound data. That way if you retag your library it only has to backup the new metadata and not the entire MP3.

    It's not commercial quality and it's not for "mere mortals." It's something that Brad wrote to scratch his itch and some other people have been hacking on it. It's been working well for me and meets my requirements better than anything else so I'm recommending it to other hackers.

    It's in CPAN...

  56. Why does everyone forget about restore time. by Macka · · Score: 1

    I hope you have a better plan if you ever need to do a full restore in anger. It's all right spending days backing up in small chunks, but if your data ever goes south, it's going to take at least as long to restore it all again. In the mean time, your web site/application/business is flat on its back.

  57. Free backup by Intron · · Score: 0

    Its called archive.org.

    --
    Intron: the portion of DNA which expresses nothing useful.
  58. Dead meat special?! by coyote-san · · Score: 1

    I can normally resist this, but this is too much:

    "the closest I found was a site that... had a special deal for customers that had expired in June!"

    What about customers that died in May? Are they screwed again?

    Do they expect much repeat business from the recently departed?

    Is this a way to get around the memory erasure of the River Lethe (in Hades)? A way around the memory erasure during Buddhist reincarnation? If so, how would we know they successfully restored their memories? (I guess we would know the reincarnated retained their memories in a few years, when they start talking again.)

    Thank you, thank you. The fish is very good tonight, and don't forget to tip your waitress!

    --
    For every complex problem there is an answer that is clear, simple, and wrong. -- H L Mencken
  59. Use web based online backup providers. by iansmith · · Score: 1

    There are many sites that give you tons of storage for backing up files, with various ways of storing the data, many of which are free. Google and http://www.adrive.com/ are two that come to mind. No need to deal with your slow connection.

  60. Mozy FTW by shokk · · Score: 1
    --
    "Beware of he who would deny you access to information, for in his heart, he dreams himself your master."
  61. Re:Why FTP? Use rsync. by Anonymous Coward · · Score: 0

    rsync is your best option, ftp is the work of the devil for backups. if you have time and don't mind, in your backup directory, create a directory for monday tuesday wednesday... to sunday, then in your script, have your rsync target path change based on the day of week. One hint if doing it, make the current day directory, rsync to it, then dup it 6 times right away (for the other 6 days of the week. Good luck, been using this method for 7 years now ;) and you'll always have 1 week of backups to fall back on.

  62. As long as you have FTP access by Anonymous Coward · · Score: 0

    Syncback is a great piece of software and you can set it up to just back what has changed so you don't have to worry as much about slow connections.

    http://www.2brightsparks.com/

    They even have a freeware version.

  63. Online rsync Backups by Anonymous Coward · · Score: 0

    We have online backups that will satisfy your needs. Online and rsync based, hosted in a datacenter. Send Us an email to info@dattabank.com.ar

  64. no offense by binford2k · · Score: 1

    but you're a tool for using ftp.

  65. IIRC you could use FTP in a point to point mode. by t-maxx+cowboy · · Score: 1

    Something like 12-15 years ago someone I was familiar with had a DirecPC Satellite down link and a meager 14.4 / 28.8 dial-up connection for up link. He was a WAREZ op of sorts, and lets just say you didn't push out validated clean WAREZ with a dial-up connection. He had mentioned to me that he used FTP clients that could establish remote FTP sessions from one FTP server to another FTP server. These GUI clients allowed him to do the simple, select and drag copying we all appreciate, but the data never hit his network link or computer. This was all done in the internet cloud so to speak.

    It stands to reason that this same FTP client package should still be available today, and that you would be able to backup your data by having multiple hosting providers, and just have a folder on each provider with the other sites backups.

    Sorry I don't know the FTP clients that supported this, but I did witness the process once or twice.

    --
    Regards,

    Ryan Pritchard
    Fun Extends All Basic Life Expectancies
  66. Yeah, it's over a week later, but... by tmh+-+The+Mad+Hacker · · Score: 1

    It's not only the client -- the servers must support it, and unfortunately, not too many do. Good idea to try, though!