Monday, July 02, 2018

Re: dump/restore and crontab(5)

Ed Ahlsen-Girard writes:

> Having clobbered my crontab (5) file in error (-r and -e are close) I
> merrily went to my level 0 dump to restore it. It's present on the dump
> (which is to file) but the restored file is zero bytes.
>
> Should I have run those dumps manually instead of as cron jobs?

What arguments did you use to backup with dump?

What arguments did you use to restore with restore?

If you found the file using restore, then it should not be zero-length.

No comments:

Post a Comment