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

  • Authentication Error with VNC

    Issue User is reciving a GUI pop-up messages that says the following, and asks for the root password at login: When logging into a VNC session as user the following message is received: Environment Red Hat Enterprise Linux 6 gnome-packagekit, several versions  Resolution Solution 1: Ensure that the system is properly registered with RHN/Satellite (Re)register…

  • Configure redhat remote printers

    On system connected to printer In system-config-settings under server settings check Share published printers connected to this system. On system connecting to remote printer Using makePrinter, create a printer using the same printer name as server. Also, hostname of server must be in /etc/hosts.  The UIR(port) should be ipp-1. Using system-config-printers, modify Device URI to read ipp//host-IP:631/printers/printer-name This allows for remote printing using the internet printer protocol.

  • Mount NTFS on RHEL

    ElRepo repository has kmod-fuse package that does not need dkms system. Since kmod installation uses module aliases (something like symlinks on filesystems), it works on all installed and future kernels without the need to recompile/install even automatic one with dkms. Get started Import the public key:rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org Detailed info on the GPG key used by the…

  • Invalid or Missing Entitlement Certificates

    How to turn off the warning message, “Invalid or Missing Entitlement Certificates” last modified by Moritoshi Oshiro on 09/21/11 – 04:29Issue We manage entitlement/subscription in RHN Classic (not Customer Portal) The system is not connected to the Internet with RHN Classic (in disconnected mode), therefore the system is not registered in RHN Classic When the…