Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
06-21-2016, 01:13 AM
|
#1
|
LQ Newbie
Registered: May 2011
Location: Piraeus Greece
Posts: 6
Rep:
|
Suggest best back up method
Hello Linuxers,
I am using a casual CentOS dedicated server and I host 20 accounts. What is the best method to restore accounts files and mySql back up?
Thanks!
|
|
|
06-21-2016, 02:13 AM
|
#2
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,702
|
noone can tell you what is the best process for you, because it depends on a lot of things (like amount of data to backup, the frequency of backups, ...)
About mysql: please check the official page to find suggested methods.
|
|
1 members found this post helpful.
|
06-21-2016, 02:14 AM
|
#3
|
Senior Member
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199
Rep:
|
Depending on the backup volume.
1. DVD-RW
2. BD-RE
3. USB Stick
|
|
1 members found this post helpful.
|
06-21-2016, 02:47 AM
|
#4
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
|
+1 on as many as you can, "format s" $ too..!
|
|
|
06-21-2016, 04:15 AM
|
#5
|
Senior Member
Registered: Apr 2010
Posts: 2,218
|
Quote:
Originally Posted by pan64
noone can tell you what is the best process for you, because it depends on a lot of things (like amount of data to backup, the frequency of backups, ...)
About mysql: please check the official page to find suggested methods.
|
Good insight.
- Amount of data to backup (capacity of your data)
- Frequency of backup (Daily, Weekly [Differential, Full])
- Data retention (how long you want to keep your backup, 1 month then replace, 1 year then replace)
If it is accounting data consult your legal counsel what is the government law about keeping your the data
You might also need to consider, restoration process. There's no point of thinking how to back up if restoring data is not being considered.
Consider this also: Tape backup, USB backup, Cloud backup, Offsite backup (if in case the whole server room vanish like a water vapor)
Commands to backup that is available on most Distro: Rsync, Tar, Dd (data destroyer), Cp (of course) etc..
Good luck!!
|
|
|
06-21-2016, 07:35 AM
|
#6
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
|
|
|
07-20-2016, 05:01 AM
|
#7
|
LQ Newbie
Registered: May 2011
Location: Piraeus Greece
Posts: 6
Original Poster
Rep:
|
I am asking about the Software. Not the hardware. Eg, I am backing up every month Each account files and mysql. I save them at SSD external drive and at a cloud service. Is that OK?
Thank you for your responses.
|
|
|
07-20-2016, 10:11 AM
|
#8
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,148
|
Quote:
Originally Posted by changlee
I am asking about the Software. Not the hardware. Eg, I am backing up every month Each account files and mysql. I save them at SSD external drive and at a cloud service. Is that OK?
Thank you for your responses.
|
AGAIN: No one can tell you what is 'best' for you. There are MANY programs to do full/incremental backups, and you've said nothing about your requirements (retention, versioning, restore time, online/nearline/offline storage, etc.)
Short answer: if you're comfortable with what you have, and can get to your backups when needed, you're done.
Long answer: if you don't THINK you're covered, you need to actually test your backups, and make SURE things work the way you want them to, and address problems as they come up.
|
|
1 members found this post helpful.
|
07-20-2016, 10:50 AM
|
#9
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Quote:
Originally Posted by changlee
I save them at SSD external drive and at a cloud service. Is that OK?
|
It is if you encrypt locally,before sending to any "cloud service".
</opinion>
|
|
|
07-20-2016, 03:32 PM
|
#10
|
Member
Registered: Jul 2015
Location: Pittsburgh, PA, US
Distribution: Slackware
Posts: 120
Rep:
|
As for me I prefer classic way of using tar command with something like
Code:
tar -cvpf /backup_directory/backup_file.tar --directory=/ --exclude=directories/that/should/be/excluded .
it took a few hours on desktop but may be longer on a big server. To restore from backup you just need to extract it to the file tree.
If you need more information check man tar or read this entry.
|
|
|
07-29-2016, 12:59 AM
|
#11
|
LQ Newbie
Registered: May 2011
Location: Piraeus Greece
Posts: 6
Original Poster
Rep:
|
Thank you so much for your responses. I would like to know what do you prefer/use for your back up methods :-)
|
|
|
07-29-2016, 01:38 AM
|
#12
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,702
|
I have two HDDs, one of them in my PC, the other one is a WD My Passport Wireless Portable External Hard Drive, and for example pictures are also saved on flickr.
synced by hand, on demand
|
|
|
07-29-2016, 04:46 AM
|
#13
|
Senior Member
Registered: Apr 2010
Posts: 2,218
|
Quote:
Originally Posted by changlee
Thank you so much for your responses. I would like to know what do you prefer/use for your back up methods :-)
|
Backup to another server, back up to USB and bring offsite, if luxury allows I would prefer another backup to NAS. A total of 3 backups.
|
|
|
08-03-2016, 03:45 AM
|
#14
|
LQ Newbie
Registered: May 2011
Location: Piraeus Greece
Posts: 6
Original Poster
Rep:
|
What is NAS folk?
|
|
|
08-03-2016, 07:01 AM
|
#15
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
|
Likely network-attached storage (NAS)
I use email as well, there maybe better one for storage or just services designed for it like DropBox &c...
searching: list of backup methods
brings in some good thoughts.
|
|
|
All times are GMT -5. The time now is 05:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|