Offsite Backups (via Rsync) - What Files/folders To Backup

Jun 3, 2009

I'm currently using (amongst other backup systems) rsync to an offsite space (am using BQBackup at the moment)

I'm just wondering - apart from backing up all of /home/, /var/lib/mysql/ and the important config files (httpd.conf, php.conf, etc etc) is there anything else that *needs* to be backed up?

Obviously in a worst case scenario, a new machine would be deployed with a fresh OS install (and a fresh WHM/cPanel install) so I wouldn't worry about backing up OS files or cPanel core files, although I'm wondering if there's anything apart from the /home/ directory and the MySQL databases which would be lost (and so need backing up) in the event of a crash?

View 10 Replies


ADVERTISEMENT

SSH, Rsync And Offsite Backup

Jun 3, 2008

I have a VPS with remote backup that I dod every night with rsync.

Now, for further SEO testing, Im looking into a reseller account.

Some reseller plan do offer access via SSH. Im not familiar with this ssh access for a reseller. Would I still be able to program a cpanel backup and then rsync all my cpanel backup ?

View 5 Replies View Related

Backup: Offsite, Cross VPS, Security Of Backups

Feb 11, 2008

I have two VPS's, VPS1 has one vbulletin community. VPS2 has about 10 cpanel accounts, mostly email, a blog site, etc. Both VPS's well under 10 gig in size not including any backups stored on the VPS.

For the more important VPS, VPS1, I am packaging the cpanel account (50mb) and SCPing it to VPS2.

I am also running pckgacct on the cpanel accounts on VPS2 (about 2 gig total, 1 tar.gz is 1.5gb, three others around 250mb, others smaller) and storing them on VPS2.

I then have WS_FTP scheduled to download the cpanel tar.gz files each night to a local machine.

I also have WHM setup to do daily incremental backups, but am not moving any of these offsite.

So, it seems I have three options:
Keep doing what I am doing.
Keep moving VPS1 tar.gz files to VPS2, but also start moving VPS2 tar.gz files to VPS1.
Start moving tar.gz files (or raw files with rsync) to offsite storage.

I'm curious on some feedback about the three options. These are personal sites, I am not reselling any sites/packages.

It seems like from a data security standpoint (email and stuff), the more 'locations' introduced into the loop, the less security there will be. Does anyone get concerned about moving their email and other data to offsite storage services?

As I said, I have a technical solution currently working, but I am wondering about the theory/data protection aspects of the various options for going forward.

View 1 Replies View Related

Which Folders Should I Exclude From A Whole Server Backup (Rsync )

Nov 10, 2008

I am going to backup the whole server. (Rsync)

I understood it is not efficient to backup the local "backup" folder to avoid duplicated backups.

1. Should I exclude additional folders from the backup process?

2. I noticed it is familiar to exclude the "proc" folder also ... Why?

View 5 Replies View Related

Daily Backup + Rsync Ssh + Large Number Of Files

Oct 29, 2006

i just wana know is it safe to do remote daily backup for about 70,000 files?

file sizes is about 200kb and every day i have about 1000 new file, so rsync first should check old files becouse i am deleting about 30-50 of them daily and them backup new 1000 files ,
so how much it will take every time to compare that 70,000 files?

i have 2 option now:

1-using second hdd and raid 1
2-using rsync and backuping to my second server , so i can save about $70 each month.

View 9 Replies View Related

UK To USA Offsite Backup, To Slow

Apr 18, 2009

I have a server in UK and i want to make daily offsite backups to a remote location using rsync or other similar software.

My idea is to buy a backup server in USA, but i dont know if is going to work well/fast because of the long distance between UK and USA (latency).

So any experiences making backups from UK > USA?

What do you think, can i buy a backup server in USA or if i want to have fast/reliable backups i have to buy a server also in uk because of the distance?

View 6 Replies View Related

Offsite Backup Service

Dec 8, 2008

Razorservers.com provide offsite backup service that can be used for not only servers but also PCs, Mac, linux, Windows, Solaris, etc. Think that must be useful for many web masters.

Does your host provide the same?

View 0 Replies View Related

Any UK Offsite Backup Recommendations?

Aug 15, 2008

Does anyone here know of any offsite backup companies based in the UK?

I've recently moved my server from Texas to London and want to use an ftp/rsync offsite backup space with a company in the UK

View 0 Replies View Related

Offsite Backup Services?

Jun 2, 2008

leave LayeredTech completely, including Dynavol.

My new host I've chosen doesn't have backup services, but no big deal. I'd like to know what people out there use (Company and Specific Services) for off site backup of their servers.

I can either do push or pull. I liked how Dynavol worked. I guess if that's the best option I could keep LT strictly for Dynavol, but looking to see what others think.

View 7 Replies View Related

Offsite Backup Server

Nov 6, 2007

running my own servers but i have been hosting websites for a years now using a dedi server in the USA through c-Panel, now i am looking to offer my clients offsite backup to a local server at my end, offering small to large packages of bandwidth and storage.

Anyway i have all that sorted the thing is i had a webpage developer create the pages for me and configure it to my ip address (as im not using a domain name for this server) the problem im having is hosting these pages on my centOS 5 server setting up apache, ftp, etc. i require a username and password for each of my clients and when they log in they will be displayed with there file inventory including the files they have uploaded, where that is the other problem i am having creating username and passwords for each of my clients what would be the best software that could do this? remember these backups are via ftp and a web based interface for files up to 500mb but to use a ftp program i will still need to create a username and password for each of my clients

View 1 Replies View Related

FTP Backups, Doing RSYNC

Oct 28, 2008

FTP backups, doing RSYNC what is needed?

I have a linux box with pure-ftpd as FTP backup server. However, we want to explore/expand to RSYNC now.

Is there a package that allows RSYNC to be used for FTP users?

This is basically like what do FTP services like BQbackup use to allow RSYNC, etc.

View 3 Replies View Related

Offsite Backup Of Dedicated Server

Sep 13, 2008

I have a managed dedicated server at a co-location. While the service I pay for runs the Cpanel backup function, I feel I need to provide a better service to my customers by creating an exact duplicate(image) of the drive itself. I don’t want my customers to lose their databases and web site information.

I need help with creating a Plan B. The plan I thought might work, would be to get a workstation, download Acronis and make an image of my dedicated server on a scheduled basis.

The reasons I thought this was a good idea:

1) I would have the image in my hands(my control), should something happen to my main hosting server.

2) It would create a complete off-site back-up.

3) It seemed cost effective.

What if Scenario:

So my main hosting server gets taken away in a hurricane and the data center will not be up and running for 3 months. I have an image of the hard disk, now what do I do with it?

View 9 Replies View Related

Rsync Backups And Security

Oct 11, 2006

Rsync seems to be popular as a backup solution, so I thought I give it a look myself. However, after looking for a while I think it is lacking in either (1) usability or (2) security for backups.

Lets use a backup of /home for example:

(1) To make the transfer secure I'd use rsync over ssh. Backup works great - untill you have to restore. Restore works only partially, because all the files now have the user/group id of the user on the backup server (even if the restore is run as root). You'd have to chown all the individual users dirs, permission files....error prone and a lot of manual work --> not good.

(2) Running rsync in daemon mode on the remote server preserves uid/gid and permissions. Restoring works like a charm when run as root. But, hey, now every 13 year old with some knowledge and a packet sniffer can write down your data unencrypted. They just need to look for -lets say- db-info in php files etc and suddenly have access to your customer base or whatever you store.... Even worse if you transfer db dumps or other sensitive data. So it is not safe to use --> not good.

Is there a way to secure the transfer or keep uid/gid info intact?
And how do all the backup providers handle the issue? (This one here claims rsync is secure.)
Or is there another way to fix the problem - restoring uid/gid and secure transfer for backups.

View 9 Replies View Related

Keeping Mirror/Mirroring Backups...anything Better Than Rsync?

Dec 17, 2008

Keeping mirrored backups...anything better than rsync?

I'm keeping mirrored backups of my servers. Does anyone know of any solution better than rsync to update the files on the backup server?

I've noticed that when running rsync it can cause a lot of disk i/o, which can slow down a running server.

Does anyone have any suggestions on how to decrease disk i/o or another solution to keeping mirrored backups on a secondary server?

View 13 Replies View Related

Weekly Offsite CPanel Backup Process Crashing Apache/bind

Mar 19, 2007

Right now I am using the built-in cpanel backup feature to backup all the accounts on my server to an offsite FTP backup account I have on a weekly basis. The problem I am having is that everytime the backup runs, the load (thats what I'm guessing is the cause) is crashing apache/bind, causing sites to be unreachable until I can restart the services. What options do I have to resolve this issue? Currently I already have spri installed, and it does help out a bit, but its still not enough.

View 4 Replies View Related

Best Permission For SMF Files And Folders

Feb 22, 2008

I'd like to know how to secure an SMF site. Is the default permission good enough?

View 4 Replies View Related

Apache Treats Files As Folders

Mar 5, 2014

I have just discovered in my access log some people accessing urls like this:

domain.com/index.php/index.php/ or even
domain.com/index.php/index.php/index.php

I have opened those links in browser and they worked. Why?

My .htaccess is empty and I have no 'index.php' folder. But I do have 'index.php' file.

I think this is happening to most php sites, not just mine. This is a random example:

[URL] ....

My question is how to force apache to return 404 error when such url is accessed?

View 1 Replies View Related

Removing Large Files Or Folders CentOS

Jul 13, 2008

Something weird happening here. I have tried every string possible...

There are a number of folders I want to remove off my server, tried the good old and simple...

rm -r /folder/

And then went and ended up with a string as long as my screen. No matter what I do, as it goes recursive in to the directory it asks me if I want to remove each file individually. No matter what string or action I take it insists on asking me as it goes to delete each file.

Could this be a configuration option in CentOS?

View 3 Replies View Related

Simple Script To Find Suspected Files And Folders

Sep 1, 2007

Try this useful script to find all 777 permission files and folders in /home directory

also it can find all names of suspected folders and files you want

and then you can take the required action

to install this follow the steps

login as root

Code:
cd /root

Code:
pico checkpandnscript.sh
Enter this code and in the 5th line from the end change
email@email.com to your email

Code:
# This file will help you to find suspected folders and files in /home directory
# Coded and desgined by Alrutani Web Hosting www.alrutani.com , for more informations please contact us.
#!/bin/sh
echo " " > /root/perdfmbc
echo "################# Folders with 777 permission #################" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -type d -perm 777 |egrep -v "./cpapachebuild|./.cpan|./src" >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "################## Files with 777 permission ##################" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -type f -perm 777 >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "############### Folders & files must be checked ###############" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -name forum >> /root/perdfmbc
find /home -name upload >> /root/perdfmbc
find /home -name 4images >> /root/perdfmbc
find /home -name gallery >> /root/perdfmbc
find /home -name uploader >> /root/perdfmbc
find /home -name up >> /root/perdfmbc
find /home -name r57shell >> /root/perdfmbc
find /home -name r57shell.php >> /root/perdfmbc
find /home -name r57.php >> /root/perdfmbc
find /home -name c99shell >> /root/perdfmbc
find /home -name c99shell.php >> /root/perdfmbc
find /home -name c99.php >> /root/perdfmbc
find /home -name shell.php >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "###############################################################" >> /root/perdfmbc
echo "Developed by Alrutani Web Hosting http://www.alrutani.com" >> /root/perdfmbc
echo "For more informations please contact us." >> /root/perdfmbc
echo " " >> /root/perdfmbc
cat /root/perdfmbc | mail -s "Suspected files & folders in your server" email@email.com
cd /root
rm -rf perdfmbc
# This file will help you to find suspected folders and files in /home directory
# Coded and desgined by Alrutani Web Hosting www.alrutani.com , for more informations please contact us.
To add more files and folders that you want the system to list

fine

Code:
find /home -name upload >> /root/perdfmbc
after it add

Code:
find /home -name xxxxxx >> /root/perdfmbc
where xxxxx is the name of the file or the folder you want

Save file Ctrl X
select yes then click enter

Code:
chmod 755 checkpandnscript.sh
To make the script works daily

Code:
crontab -e
At the end enter

Code:
* 3 * * * sh /root/checkpandnscript.sh
save and exit done !!

now to test the script

Code:
cd /root

Code:
sh checkpandnscript.sh
you will receive email from the server

View 2 Replies View Related

Plesk 12.x / Windows :: How To View Attributes For Files / Folders

Aug 7, 2014

If users copy files/folders on Plesk Panel 11/12 with attribute "read-only", I don't see this attribute on File Manager, every time do next "attrib -r <path to file/folder".

Maybe you can improve functionality of "File Manager" on Plesk Panel 12?

View 1 Replies View Related

Plesk 12.x / Linux :: Write Recursive Rights On Files / Folders

Feb 20, 2015

I have a concern during the installation of PrestaShop. I created a subdomain through Plesk, put my files on my server via FTP. During installation of PrestaShop, I have a problem:

Recursive write permissions for the Apache user on the ~ / config /

My user is "NOWIS" and my group is "psacln" ....

I think the user "NOWIS" has no rights as "Apache" ....

View 3 Replies View Related

Rsync Doesn't Want To Transfer Files

May 16, 2008

i have a client machine which requires backing up, and the server. For some reason, rsync doesn't want to transfer files...

i've already set up keys, it logs in fine without asking for password.

server config:

max connections = 2
log file = /var/log/rsync.log
timeout = 300

[backup]
comment = Rsync backups
path = /secondary/client
read only = no
list = yes
uid = nobody
gid = nobody
auth users = root

client command:
rsync -vz --recursive --progress --stats -e "ssh -i /root/.ssh/rsynckey" root@server.com:/backup/ /home/usertobackup

it keeps saying cannot find the backup folder, even thouhg it does exist on the server and is what is specified in the path above?

View 7 Replies View Related

Disk Quota Issue - Locating The Folders With The Highest Number Of Files

Jun 6, 2008

we've been having issues with reaching or exceeding our disk quotas. I've checked carefully, and while I've cleared our mail queue's, I don't think that's the issue.

So what I'm really looking for is a way to figure out why we have so many files (our quota is 220000, and I'm pretty confident that we aren't intentionally doing anything to create so many files). There's lots of information on finding the folders with the largest file sizes, but locating the folders with the greatest number of files isn't quite so simple--or at least, it doesn't seem very clear to me.

Does anyone know a way via the command line to figure out this information, short of going through every single folder and figuring out how many files are in the specific folder?

View 6 Replies View Related

Plesk 12.x / Linux :: Files And Folders Generated By PHP Hidden In FTP - Centos 6.5 / FastCGI

Jun 23, 2014

I have the following problem, the files and folders generated by PHP are hidden in FTP.

I can see in the Plesk file manager that users, permissions and groups are the same for all files and folders (those that can be seen and those that cannot be seen from FTP).

All the options in the server are set by default. It is a new installation of Plesk 12.0.18 #4 in CentOS 6.5 (Final).

SO: CentOS 6.5 (Final)
Plesk: 12.0.18 #4
PHP: FasctCGI
Apache Modules:

View 3 Replies View Related

Any Daily Moving Files Soloution (Rsync)

Mar 5, 2008

I have move all my vBulletin images to a separate server .. to decrease the load in the main server.. but i am still having a problem .. I have a 3 directors updated daily with new images they are

/home/mark/public_html/vb/customavatars
/home/mark/public_html/vb/customprofilepics
/home/mark/public_html/vb/signaturepics/

I am searching for a way to move only the new files uploaded to this there directory's to the other server in this way
/home/mark/public_html/vb/customavatars (new files) ===> /home/mark/public_html/images/customavatars

/home/mark/public_html/vb/customprofilepics (new files) ===> /home/mark/public_html/images/customprofilepics

/home/mark/public_html/vb/signaturepics/(new files) ===> /home/mark/public_html/images/signaturepics

I have tried to use Rsync in this way as i have a internal connection between my server but it's not work
rsync -a rsync://192.168.0.2/vb/customprofilepics/ /home/mark/public_html/images/customprofilepics
rsync -a rsync://192.168.0.2/vb/customavatars/ /home/mark/public_html/images/customavatars
rsync -a rsync://192.168.0.2/vb/signaturepics/ /home/mark/public_html/images/signaturepics

with daily corn ..

View 4 Replies View Related

Rsync Some Files From Windows To A Linux Server

Mar 28, 2007

At work, we have a windows 2003 server.

We have a set of files that get modified from day to day.

Since they know I own a dedicated server (Linux) they ask me if it would be possible to have an offsite backup on my server of the set of files on the windows 2003 server.

Also, I dont want to have the whole files set to be uploaded everyday.

I am aware of rsync on *nix system, but do you have any suggestions on how to proceed with a windows 2003 server to a unix server?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved