User Tools

Site Tools


rsync-backup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rsync-backup [2013/06/09 18:22]
nanneqbaile
rsync-backup [2014/01/03 10:08] (current)
zoza [manual backup]
Line 1: Line 1:
-When the world plays football, they are not playing American football, but what is known in the US as soccer. On each play of an American football game, both sides must have eleven players on the field. There might only be eleven players on the field at a time, but there are many more than that on the team. Competition to be selected to join a football team can be very tough depending on the available pool to choose from.+====== manual backup ======
  
-Many schools have a hard time getting enough people to even tryout, because they are so small. But larger schools can be very different, and successfully getting chosen to join is not often a given. Every position is different, and it is good to know how to play them.+(run as sudo)
  
-Even if you don't like the game, quarterbacks are always recognizable for various reasons. People that have no idea how to play the game can still recognize who the quarterback is. To begin the game, the players have a huddle, figure out what play they want to do, and get the ball in motion. If the quarterback is going to be sacked, he might run with the ball trying to get a first down before he gets tackled. The quarterback'​s additional responsibilities include having a position of leadership within the team. To initiate each play, the rules say that seven players will be aligned at the scrimmage line for the defense. Otherwise, the wide receivers, tight ends and running backs can fluctuate. It all depends on the particular play that has been called. You will see that a good deal is riding on the yards required for a first down. With the commencement of the first down, or play, it is imperative that the offense go at least ten yards. Following this, they are allowed four down, or play, to acquire the next first down. Normally, when they have been driven back and in order to get a first down of twenty yards, you will most likely see a pass play.+ - local backup
  
-Whenever someone makes a first down, the teams are allotted time to make any changes that are needed. For every new and different change in the game, a different tactic will be applied. When considering the different plays, the matter can be quite controversial. Predictably you would locate a book full of likely plays and patterns and other info. Presumably, for just about every occurrence that may happen; there is a pattern or play that would apply. Some patterns are pretty rough, but there are others that are harmless. If you're a beginner to the sport of football, remember not to be in any hurry. When attempting to master this type of competition look forward to a long process to fully grasp the entire picture. The results you receive will solely rely on your sweat and the degree of emphasis you give.+<​code>​rsync -azvv  --exclude /var/log /etc /home /opt /var  /​pathtofolderwherebackupisstored</​code>​
  
-[[http://​www.wikipedia.com|More information]]+ - remote backup
  
-<img src="​http://upload.wikimedia.org/wikipedia/commons/e/e3/Electronic_Cigarettes.jpg" alt="The best electronic cigarette" ​/>+<code>​rsync -azvv -e ssh /​foldertobackup remoteuser@remotehost.remotedomain:/wheretostorebackup 
 + 
 +https://help.ubuntu.com/community/rsync 
 + 
 +to backup mysql database, it is enough to:  
 + 
 + - stop mysql server 
 + 
 +<​code>​/etc/init.d/mysql stop</​code>​ 
 + 
 + - backup the contents of the /​var/​lib/​mysql folder 
 + 
 +<​code>​rsync -azvv /​var/​lib/​mysql /​somewhere</​code>​ 
 + 
 + - backup the database(s) 
 + 
 +<​code>​mysqldump -u root -ptmppassword --all-databases > /​tmp/​all-database.sql</​code>​ 
 +source {{http://​www.thegeekstuff.com/​2008/​09/​backup-and-restore-mysql-database-using-mysqldump/​|here}} 
 +====== automated backup ====== 
 + 
 +(as sudo) run crontab: 
 + 
 +<​code>​crontab -e</code> 
 + 
 +edit the file, so that cronjob will run the command each 1st of the month, at 20:45 
 + 
 +<​code>​45 20 1 * *  rsync -azvv  --exclude /var/log /etc /home /opt /var  /​srv/​mis_duplicate/​backingup</​code>​ 
 + 
 +and backup the server (only folders /etc, /home, /opt, /var) to an external disk 
 + 
 +> cron format: http://​www.nncron.ru/​help/​EN/​working/​cron-format.htm 
 + 
 +more:  
 + 
 +http://​rbgeek.wordpress.com/​2012/​05/​22/​automatic-backup-from-ubuntu-server-with-rsync/​
rsync-backup.1370802149.txt.gz · Last modified: 2013/06/09 18:22 by nanneqbaile