Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how we can use Dump in crontab for backing up directory, I have done the following configuration in crontab to accomplish this.
00 01 * * * /sbin/dump -0 f /backup/abc.bkp /home
This command run but the dump return the error
"dumping /home (an unlisted file system to backup.bkp"
"cannot open /home "
"the entire dump is aborted"
I want to backup this directory on the / path and no tape drive is used, also want to set incremental backup of my home directory. How we will do that let say on Saturday full backup is perform and than from Monday to Friday incremental backup is performed using crontab.
Does this command run correctly when you type it in the interactive shell?
Have you compared the command invocation with the man page?
Edit: Use the -v option for more information.
Last edited by berndbausch; 11-13-2015 at 05:34 AM.
yes it is work fine when we specified the dump file name. but nor working in crontab.
Is this the crontab for root?
If yes, wrap the dump command in a shell script that checks access to /home.
If not, run it as root.
If there is no solution, perhaps it's related to SElinux?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.