Use rsync to backup data

You can use rsync to back up data incrementally.  

To run daily, create a file in /etc/cron.daily called backup

   #backup

   rsync – rtugRO – – exclude-file=/etc/cron.daily/exclude-file  /source  /dest

Create /etc/cron.daily/exlude-file

   . ? *

   exp *

   * : *

Similar Posts

  • Intel e1000e Linux Driver

    Linux* e1000e Base Driver overview and installation   Using the e1000e Base Driver for Gigabit IntelĀ® Network Connections The e1000e driver supports PCI Express* Gigabit Network Connections except the 82575, 82576, 82580, and I350. Download e1000e here Overview Building and installation Command line parameters Speed and duplex configuration Additional configurations Overview The Linux base drivers support the 2.4.x…

  • RHEL 6 Install Info

    Bios Settings on HPZ420 Enter BIOS and change the following settings: Storage                 Storage options                                 SATA Mode ==> IDE                 Boot Order                                 UEFI Boot Sources ==> Disable All                                 Legacy Boot Sources ==> Enable All Installing RHEL 6.3 Prerequisites You will need: The RHEL 6.3 Installation DVD and license from RedHat (you need the Workstation…

  • ACPI Errors on Ubuntu bootup

    You can get rid of those ACPI Error messages by 1. Open ‘/etc/default/grub’ in an editor with root access. In your case I believe Ubuntu uses gedit as it’s text editor Code: 2. The line with ‘GRUB_CMDLINE_LINUX_DEFAULT’, add the loglevel=3 part. The original looks like GRUB_CMDLINE_LINUX_DEFAULT=’quiet splash’ Change it to this: Code: Then save the…

  • Mount Windows Share on RHEL

    In CLI    mount -t cifs //ntserver/dir -o username=user,password=pass /mnt/ntserver    In /etc/fstab    //ntserver/dir   /mnt/ntserver   cifs   credentials=/root/.smbpasswd,file_mode=0777,dir_mode=0777   0   0 Then create a file /root/.smbpasswd  with permissions set to 600    username=user    password=pass In /etc/hosts add IP address of ntserver.