Suse & OpenSuse : Tips, Tricks, Tutorials, How Tos and Troubleshooting

Monthly Archives: May 2009

Differential backup script sample

We should regularly backup our servers (and PCs and notebooks) and if you are running a production server, backing up as regularly as possible should be considered.  However, backing corporate servers which are full of emails or shared documents can take hours.  We can probably only do so on the weekends.  So, what happens when [...]

Automatically dating your tar backups

Normally, we use the tar command coupled with some compression program such as gzip to create a backup of our directories. I.e. # tar -cf /var/log/backup/tux.tar /home/tux to backup the home directory of the user tux into the directory  /var/log/backup.

Short and quick tutorial for the command “touch”

The touch command is typically used for 2 purposes, to create a new file and to modify the access and modification times of the file.  If the file already exist, it will update the  both the access and modification times of the file and if it does not exist, it will create a new file.  [...]

Using command output with backquotes

The backquote (`), which is quite alien to most Windows users, is the key just below the top left hand side ESC key on your keyboard.  This is a useful key to use when you want to use the standard output of a UNIX/LINUX command as part of another command.