BackupPC-users

Re: [BackupPC-users] Back up open files in linux

2014-03-04 03:51:41
Subject: Re: [BackupPC-users] Back up open files in linux
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: "Prem" <squirrelj AT yahoo DOT com>, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 4 Mar 2014 02:50:13 -0600
> Hi,
>
> Sometimes, the back up of /root or /usr fails due to open files. I have 2
> questions with regards to it?

You do?

Windows and *nix file semantics are pretty different -- so I'd be pretty
surprised if your *nix backups are failing because a file is locked
exclusively because it is open...  That's more of a Windows thing.

However, if the issue is that you have too many open files, well, that
makes sense, and unlike the scenario in which you have a locked file to
contend with, you're running into a resource limit.

> 1. How to skip the open files and CONTINUE with the backup without
> failing?

Well, first examine the error, because I suspect you may be interpreting
this as a Windows file semantic error that is somehow appearing on your
Linux box and is now inexplicably fatal -- when it's fatal for a reason.

ulimit, then, is what you may be looking for, to raise your open file
limit (assuming it is soft) or, if hard, kernel tweaking.

> 2. How to backup the open files if possible?

Just, you know, back them up.  This isn't Windows.

That said, you may want to be cautious about what kind of consistency you
have in files that are not quiescent, simply because it is easy to back up
open files.

> I often notice the backup aborts when there are some issues such as this
> and does not skip and continue...
>
> Appreciate
> it.

Of course, I may be making assumptions as well, you might want to be
specific about flavors of *nix, backup transport, file system, and so
forth, because it may matter.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>