As I wrote before, my two backup drives had xfs installed, but they started
throwing errors that needed to be repaired. Not having errors on ext4
partitions I've been trying to convert /media/bkup1 and /media/bkup2 from
xfs to ext4. I'm part way there and have a question about completing the
process. (BTW, I used cfdisk on the 1T SSD flash drive to delete the
partition, created a new Type 7 partition, and installed vfat on it. That
directory with a file having an unpritable file is now gone.)

Today I tried to tar all of /media/bkup1, the main backup directory, but it
segfaulted after several hours and 523G transfered from the original 474G.
I've no idea why.

Anyway, I then ran mkfs.ext4 on /media/bkup2 and changed the fs. After the
dirvish backup runs tonight at 00:30, copy-backup.sh runs:
#!/usr/bin/bash
rsync -aH /media/bkup1/ /media/bkup2
--log-file=/home/rshepard/bkup2.log

I've learned that rsync copies more than does cp so while /media/bkup1 holds
474G /media/bkup2 held 600G.

What I plan to do to tomorrow is to change /media/bkup1 from xfs to ext4,
then run the copy-backup.sh script to copy from /bkup2 back to /bkup1 so
they're both in sync.

Are there errors in my thinking?

TIA,

Rich



Reply via email to