1. Mounting data from server to PC
- edit vi /etc/fstab
- x.x.x.x:/data/hrd/ade /mnt/nfs/hrd/ade nfs suid,dev,exec 0 0
- x.x.x.x:/data/payroll/atri /mnt/nfs/payroll/atri nfs suid,dev,exec 0 0
- x.x.x.x:/data/payroll/devi/Maindata /mnt/nfs/payroll/devi nfs suid,dev,exec 0 0
- x.x.x.x:/data/payroll/chabib /mnt/nfs/payroll/chabib nfs suid,dev,exec 0 0
- x.x.x.x:/data/jamsostek/indra /mnt/nfs/jamsostek/indra nfs suid,dev,exec 0 0
- x.x.x.x:/data/jamsostek/hamzah /mnt/nfs/jamsostek/hamzah nfs suid,dev,exec 0 0
- x.x.x.x:/data/ssc /mnt/nfs/ssc nfs suid,dev,exec 0 0
- x.x.x.x:/data/finance/yeni /mnt/nfs/finance/yeni nfs suid,dev,exec 0 0
- x.x.x.x:/data/payroll/nana /mnt/nfs/payroll/nana nfs suid,dev,exec 0 0
2. Perform the synchronization process from the mounting to the pc-linux rut6; edit crontab-e
- */1 * * * /usr/bin/rsync -rv -e --delete-after /mnt/nfs/hrd/ade /windows/G/backupserver/hrd/
- # Backup Data Payroll#
- 0 */1 * * * /usr/bin/rsync -rv -e --delete-after /mnt/nfs/payroll/devi /windows/G/BackupServer/payroll/
- 0 */1 * * * /usr/bin/rsync -rv -e --delete-after /mnt/nfs/payroll/atri /windows/G/BackupServer/payroll/
- 0 */3 * * * /usr/bin/rsync -rv -e --delete-after /mnt/nfs/payroll/chabib /windows/G/BackupServer/payroll/
- 0 */2 * * * /usr/bin/rsync -rv -e --delete-after /mnt/nfs/payroll/nana /windows/G/BackupServer/payroll/
- #0 */2 * * * /usr/bin/rsync -rv -e --delete-after /mnt/nfs/payroll/nana /windows#/G/BackupServer/payroll/
#Backup Data Jamsostek#
- 0 */4 * * * /usr/bin/rsync -rv -e --delete-after /mnt/nfs/jamsostek/indra /windows/G/BackupServer/jamsostek/
- 0 */4 * * * /usr/bin/rsync -rv -e --delete-after /mnt/nfs/jamsostek/indra /windows/G/BackupServer/jamsostek/
- #Backup Data SSC
- 0 */7 * * * /usr/bin/rsync -rv -e --delete-after /mnt/nfs/ssc /windows/G/BackupServer/
- 0 */9 * * * /usr/bin/rsync -rv -e --delete-after /mnt/nfs/finance/yeni /windows/G/BackupServer/finance
0 komentar: on "Manual System Backup NFS on My Server"
Posting Komentar