I am still really new to using the dump utility. Currently I have a mirrored drive configuration in my FreeBSD server and I use the following command to back it up:
This creates a tar file of about 2GB for a system that uses 7.5GB of disk space. I do use MySQL so I was wondering, do my databases get backed up using the command above? Does everything else get backed up to that tar file?
When I look at the options for dump I noticed there is a -L option for a "live system". I have tried the following unsuccessfully:
Whats the correct way of using dump with the -L option? When does one use the -L option?
What I am looking for it a way to COMPLETELY backup my system. Am I asking too much from the dump command? Is there a better way to approach backing up my entire system?
Many thanks. :e
Code:
dump -0af machinename-date.tar /dev/mirror/RootMirror4s1a
This creates a tar file of about 2GB for a system that uses 7.5GB of disk space. I do use MySQL so I was wondering, do my databases get backed up using the command above? Does everything else get backed up to that tar file?
When I look at the options for dump I noticed there is a -L option for a "live system". I have tried the following unsuccessfully:
Code:
dump -0afL /dev/mirror/RootMirror4s1a
Whats the correct way of using dump with the -L option? When does one use the -L option?
What I am looking for it a way to COMPLETELY backup my system. Am I asking too much from the dump command? Is there a better way to approach backing up my entire system?
Many thanks. :e