rsync3 우분투 서버 백업 추가 root@Gugeosigan:~# cat rsync.sh #!/bin/bash rsync -au /home/mogibu/www/ /home/bckup/www/ && rsync -au --exclude-from='exclude.txt' / /home/bckup/root/ root@Gugeosigan:~# cat exclude.txt /home /proc /lost+found /media /mnt /run /var/run /dev /tmp /sysroot@Gugeosigan:~# df -h Filesystem Size Used Avail Use% Mounted on tmpfs 383M 4.5M 379M 2% /run /dev/sda4 40G 4.7G 33.. 2024. 5. 18. 서버 백업 현황 Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.274-270 armv7l) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro Last login: Wed Apr 24 09:11:59 2024 from 192.168.0.64 root@Gugeosigan:~# cd /media/hdd2/bckup/ root@Gugeosigan:/media/hdd2/bckup# cd .. root@Gugeosigan:/media/hdd2# cd server root@Gugeosigan:/media/hdd2/server# ls -.. 2024. 4. 24. 서버 백업 용량 서버 / 용량root@Gugeosigan:/# df -hFilesystem Size Used Avail Use% Mounted onudev 926M 0 926M 0% /devtmpfs 200M 4.5M 195M 3% /run/dev/sda1 447G 38G 387G 9% /tmpfs 996M 0 996M 0% /dev/shmtmpfs 5.0M 0 5.0M 0% /run/locktmpfs 996M 0 996M 0% /sys/fs/cgroup/dev/mmcblk1p1 128M 18M 110M 14% /media/boot/d.. 2024. 4. 15. 이전 1 다음