I have a separate hard disk for backups.
For ages I have had the disk mounted (using fstab) as /mnt/bak
and my cron job was like....
#!/bin/bash
rsync -urC --delete /home/robert/Shared/mp3s /mnt/bak/
Now my primary partition became full because the backup was going to 2 places
/mnt/bak/
and
/media/disk/ (which does not show up in fstab)
I have changed my cron jobs to be like
rsync -urC --delete /home/robert/Shared/mp3s /media/disk/
but I want to know if that is correct and if the current disk for /media/disk/ could change.
For ages I have had the disk mounted (using fstab) as /mnt/bak
and my cron job was like....
#!/bin/bash
rsync -urC --delete /home/robert/Shared/mp3s /mnt/bak/
Now my primary partition became full because the backup was going to 2 places
/mnt/bak/
and
/media/disk/ (which does not show up in fstab)
I have changed my cron jobs to be like
rsync -urC --delete /home/robert/Shared/mp3s /media/disk/
but I want to know if that is correct and if the current disk for /media/disk/ could change.
Comment