Open main menu
Home
Random
Recent changes
Special pages
Community portal
Settings
About Consumerium development wiki
Disclaimers
Consumerium development wiki
Search
User menu
Talk
Contributions
Log in
Editing
User:Jukeboksi/BBA studies/User:Jukeboksi/Blog/2013
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 2013-09-02 - Howto make cheap and easy backups on Linux? == To properly do a backup one must: # ) Isolate the information objects that need to be successfully backupped and do it ::* ''Usually the full home-directory and a full dump of [[w:database]]s is all you need'' ::* ''Use a dedicated backup directory on every machine. '''The main point is that it needs to be somewhere outside the directories you are interested in backupping.''' I call mine <tt>/backupmedia</tt> . :::<tt>'tar cvzf /backupmedia/machinename/homedir.tar.gz /home/yourusername' </tt> Will compress your home directory. :::Use the <tt>'mysqldump'</tt> command with switches <tt>--all-databases</tt>, the mysql root password and user # ) VERIFY THE BACKUPS TO WORK BY LOADING INTO A REFERENCE SYSTEM ON NON-PRODUCTION CLOSED SERVER INSTANCE. Not verified truly cannot be called backup because if they are found to be faulty shit will ensue. Check that the .tar.gz's unpack and that the database dumps can be read onto MySQL. #) Criss-cross-copy from every machine to every machine / distribute the backups to as many servers, laptops and USB sticks as possible. ::*One can then just substitute /media/usb0 to make the off-line copies with command <tt>'sudo cp -r /backupmedia/* /media/usb0/.'</tt> or <tt>'cp -rf /backupmedia/* /media/usb0/.'</tt> if you don't need to force using sudo rights which I do for some reason on the [[w:USB stick]]. Be adviced that a normal USB key will accept '''any sudo password on any machine''' afaik. :::: Sorted. --[[User:Juboxi|Juboxi]] ([[User talk:Juboxi|talk]]) 14:44, 2 September 2013 (EEST) [[Category:realcontent]]
Summary:
Please note that all contributions to Consumerium development wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see
Consumerium:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)