SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Exception [Errno 12] Cannot allocate memory
Author Message
Post Exception [Errno 12] Cannot allocate memory 
Hi all,

I'm trying to backup two filesystems over SSH from a laptop to my linux
server. The first has 4 gigs of data on an ext3 filesystem, the second
has 48 gigs of data on an ntfs filesystem, mounted under linux using
ntfs-3g.

The first filesystem is backed up successfully, but unfortunately I am
getting "[Errno 12] Cannot allocate memory" about halfway through the
backup of the second filesystem.

Both the server and the laptop are running rdiff-backup 1.2.8, the server
is using python 2.6.5, and the client is using python 2.6.4. The server
has 8 GB of RAM, and the laptop has 2 GB of RAM.

Here's the command line I'm using:
rdiff-backup --exclude-other-filesystems --exclude-sockets
/home/sarah/Data
backup < at > remote-backup::/nfs/media/backup/bode/rdiff-backup/home-sarah-Data

I've put a log of the backup here:
http://www.ccs.neu.edu/home/jfaulkne/bode-rdiff-backup.txt

and here's the same failure when using "--terminal-verbosity 7":
http://www.ccs.neu.edu/home/jfaulkne/bode-rdiff-backup2.txt

Anyone have any ideas as to what's going wrong here?

thanks for any help,
Jim Faulkner

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post Exception [Errno 12] Cannot allocate memory 
Jim Faulkner wrote:
Hi all,

I'm trying to backup two filesystems over SSH from a laptop to my linux server. The first has 4 gigs of data on an ext3 filesystem, the second has 48 gigs of data on an ntfs filesystem, mounted under linux using ntfs-3g.

The first filesystem is backed up successfully, but unfortunately I am getting "[Errno 12] Cannot allocate memory" about halfway through the backup of the second filesystem.

Both the server and the laptop are running rdiff-backup 1.2.8, the server is using python 2.6.5, and the client is using python 2.6.4. The server has 8 GB of RAM, and the laptop has 2 GB of RAM.

Here's the command line I'm using:
rdiff-backup --exclude-other-filesystems --exclude-sockets /home/sarah/Data backup < at > remote-backup::/nfs/media/backup/bode/rdiff-backup/home-sarah-Data

I've put a log of the backup here:
http://www.ccs.neu.edu/home/jfaulkne/bode-rdiff-backup.txt

and here's the same failure when using "--terminal-verbosity 7":
http://www.ccs.neu.edu/home/jfaulkne/bode-rdiff-backup2.txt

Anyone have any ideas as to what's going wrong here?

thanks for any help,
Jim Faulkner

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org ([email]rdiff-backup-users < at > nongnu.org[/email])
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


Try copying the base data to dest with rsync first and then run rdiff-backup against it with --force.

Cheers
Gavin
--
www.gnumims.org
www.kromhouts.net
Everything in moderation, including moderation itself.

Post Exception [Errno 12] Cannot allocate memory 
On Mon, 16 Aug 2010, Gavin wrote:

I've put a log of the backup here:
http://www.ccs.neu.edu/home/jfaulkne/bode-rdiff-backup.txt

and here's the same failure when using "--terminal-verbosity 7":
http://www.ccs.neu.edu/home/jfaulkne/bode-rdiff-backup2.txt

Anyone have any ideas as to what's going wrong here?

Try copying the base data to dest with rsync first and then run rdiff-backup against
it with --force.

That worked! The rdiff-backup finished successfully after an initial
rsync of the data. Why did I need to run rsync first to make it work?

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post Exception [Errno 12] Cannot allocate memory 
Jim Faulkner wrote:
On Mon, 16 Aug 2010, Gavin wrote:

I've put a log of the backup here:
http://www.ccs.neu.edu/home/jfaulkne/bode-rdiff-backup.txt

and here's the same failure when using "--terminal-verbosity 7":
http://www.ccs.neu.edu/home/jfaulkne/bode-rdiff-backup2.txt

Anyone have any ideas as to what's going wrong here?

Try copying the base data to dest with rsync first and then run rdiff-backup against
it with --force.

That worked! The rdiff-backup finished successfully after an initial rsync of the data. Why did I need to run rsync first to make it work?

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org ([email]rdiff-backup-users < at > nongnu.org[/email])
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Rsync is simply better (resume and other options) at connections across networks so this is a common method.
Don't forget to remove the --force option after the first rdiff-backup run and then run rdiff-backup again.
In my experience two rdiff-backup runs is required to be sure that the repo is working.

Also I usually recommend using backupninja instead off rdiff-backup directly to provide a backup system.

Cheers
Gavin

--
www.gnumims.org
www.kromhouts.net
Everything in moderation, including moderation itself.

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB