![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jan 2015
Posts: 1,071
|
How do you handle backups on self managed servers?
Hi all
Do you guys upload it to another server via a cron script or do you download it locally? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Feb 2003
Location: Italy
Posts: 86
|
Depends on the project/content
Code: I always have one or more git repos for my code SQL: Standard shell script with weekly/daily/hourly cron triggering and upload to Google Drive. Static: Depending on the size I use to backup all the static content by zipping small files and direct downloading big ones, all done by shell scripting. Again if the size is reasonable I use online backup space, otherwise I backup on my local Synology NAS and I mirror it on BackBlaze B2. Despite all of this there are projects I simply don't back-up since they aren't worth the effort.
__________________
Senior Developer, System Administrator and Cloud Architect Hiring Live Cam Performers Ready to Jump in the New Era of Porn? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
Quote:
On our dev server what I do is every day create Monday.tar.gz, Tuesday.tar.gz, etc and upload it to an s3 storage overwriting the previous day so I have a 7 day rolling backup. On a client's cam site where there's lots of financial transactions we do a dump every 3 hours and upload similarly with a 7 day rolling backup. If I was running a paysite i'd backup the videos/thumbs incrimentally separately from the code and db. In some cases it's cheaper to get a cheap machine from OVH and backup to that plus then you always have a "spare server" in case shit hits the fan and you need to get something back up quickly.
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,220
|
i use runcloud.io with my servers, they have backup integrated into the platform.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Feb 2011
Posts: 108
|
Do you have a control panel? If so 90% of them have a backup utility built into them.
What I do is have it backup to a local copy example /backups then I will rsync that to another server. If you don't have a control panel, then something as simple as a several cron's one for a mysql dump ( or dumps ), one to tar up a directory, then to copy that tar to another folder, then a third one to rsync it offsite. Just my 2 cents. Thanks, Anthony |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to wipe my ass
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,490
|
I'm impressed !
![]() ![]() ![]() Wish I could go every three hours... ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Videochat Solutions
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 48,532
|
Create 1 backup to the cloud, and another one to on premises. Pm me and I will show you how.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |