LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-08-2017, 12:15 PM   #1
burley
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian
Posts: 19

Rep: Reputation: 1
Backing up to an automounted server partition?


Is automount a safe bet to backup a laptop to an exported server partition? I had a problem that my local partition filled up where I believe backups were written to the automounted server partition.... On a laptop hard mounting the server may lead to stale mount points having their own problems... So what's a good policy here?
 
Old 02-08-2017, 12:41 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Are you stuck using nfs/exported file system?
Any reasong to not use rsync and SSH?
Is the laptop linux or windows?
 
Old 02-08-2017, 01:00 PM   #3
burley
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by szboardstretcher View Post
Are you stuck using nfs/exported file system?
Any reasong to not use rsync and SSH?
Is the laptop linux or windows?
- No, I'm not stuck with nfs/exported.
- Direct cp is faster than rsync (quite frequent backups).
- Linux (Debian).
 
Old 02-08-2017, 02:07 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by burley View Post
- Direct cp is faster than rsync (quite frequent backups).
I have a hard time believing that for anything other than the first backup. How are you doing these backups?
 
1 members found this post helpful.
Old 02-08-2017, 03:10 PM   #5
burley
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by suicidaleggroll View Post
I have a hard time believing that for anything other than the first backup. How are you doing these backups?
I use borgbackup. It works perfectly with rsync but I was just wondering if using automount would be safe as well. In the backup script straight before borg backups into the server partition I first do an "ls <server-backup-directory>" to be sure it's automounted.
 
Old 02-09-2017, 12:43 AM   #6
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,779

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
NFS works okay.
If the server is not available it behaves a bit nasty.
Another test is
Code:
df <server-backup-directory>/.
or
Code:
timeout 5 df <server-backup-directory>/.
where the trailing /. ensures the automatic mount.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Backing up disk while preserving partition structure? jms89 Linux - Newbie 13 01-14-2013 09:51 AM
Need help with creating a new user and backing up a partition shshivam Linux - Newbie 6 10-31-2012 07:36 PM
Backing up my slack partition - what app to use? Garibaldi3489 Linux - Newbie 12 06-08-2005 07:00 PM
backing up a partition nkoplm Linux - General 2 05-26-2005 11:53 PM
Backing up entire Linux System (partition) podollb Linux - Software 4 10-14-2003 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration