PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   High volume photopost sites: how do you backup? (http://www.photopost.com/forum/photopost-pro-how-do-i/113113-high-volume-photopost-sites-how-do-you-backup.html)

dontom March 26th, 2005 01:50 PM

High volume photopost sites: how do you backup?
 
Hi, we are backing up our pp db every night , this is no problem.

But our data-directory is something around 30 GB, we tar it and scp it to a different server (both connected directly). This takes long (full backup) cron starts it every second night for us, but the whole process (tar, scp) takes around 260 minutes.

How do you do this? Anyone uses some kind of incremental backup?
Thomas

pengrus March 26th, 2005 05:44 PM

We are using sftp download them to local harddrive using syncronizing function. It worked very well before. But now because of the emtpy index.html files in each of the folder within data/, the syncronizing does not work any more.

We also have server incremental backup. But I'd like to have a copy at my local computer too.

dontom March 26th, 2005 11:52 PM

How does your incremental server backup work? Which software does this?

pengrus March 26th, 2005 11:55 PM

cpanel has this setup.

dontom March 27th, 2005 12:38 AM

How much data do you backup? (GB)

pengrus March 27th, 2005 12:49 AM

25 gb

WB March 29th, 2005 11:16 AM

dontom:

Assuming your servers are Unix based, rsync has worked well for us (there may be a Win version, just haven't used it since we are Linux/Unix based). We use it to keep a mirror copy on another server of our PhotoPost install.

It only syncs what has changed so we don't have to copy over everything each time.

dontom March 29th, 2005 11:57 AM

WB: yes, we are using debian - how much volume do you backup with rsync? how long does it take?

WB March 29th, 2005 02:19 PM

Our PhotoPost install is relatively small at around 4 GB but our largest mirror rsync is about 90 GB total.

Off the top of my head I don't know the exact times since all are run in the wee hours of the morning through cron.

When I've had to manually run one though, I don't ever recall it being over 20 minutes. Keep in mind though that in our instance we are only copying over what has changed (and removing any deleted files). Could definitely take longer depending on the amount of data that changes on a daily basis.

The available 'pipe' size between the two machines would also be a big factor. You can limit the amount of the pipe that rsync uses but in our case we have a decently large limit on some due to the connection in use between the machines.

dontom March 31st, 2005 12:10 AM

WB - Thank you for the information - we will look into this
Thomas

WB March 31st, 2005 12:12 PM

Sure, glad to help.

I dug up a URL to a site that shows a sample of automated snapshot style backups with rsync:

http://www.mikerubel.org/computers/rsync_snapshots/

We don't use snapshots in all instances (just a straight nightly rsync for most) but it has worked well where we've used it.

Michael P March 31st, 2005 01:40 PM

I do MySQL backups on a daily, weekly and monthly setup (using a cron). I also tar up my data directory and store it on another volume on my server from time to time.


All times are GMT -5. The time now is 04:22 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97