backup with snapshots and scp

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

FNB
Posts: 27
Joined: Mon Jul 17, 2006 2:21 pm

backup with snapshots and scp

Postby FNB » Mon Oct 02, 2006 6:07 pm

I'm trying to backup a Scalix box by creating a logical volume snapshot of /var/opt/scalix, mounting the snapshot, then pulling the snapshot to a Windows box via WinSCP or PSCP.

Problem is that both SCP implementations hang on named pipes and there seem to be quite a few scattered around Scalix folder structure.

Any suggestions? I'd much rather use this than Samba if possible.

FNB
Posts: 27
Joined: Mon Jul 17, 2006 2:21 pm

Postby FNB » Mon Oct 02, 2006 6:45 pm

It looks like the only pipes are in

~/se
~/temp
~/pop3
~/notifs

Is it safe to exclude this folders from a full system backup? Will I have any issues on the restore?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Tue Oct 03, 2006 4:54 am

Yes, you can simply ignore the named pipes.

However, for synchronisation effectiveness, have you considered using rsync over ssh? I think this will be more efficient.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

FNB
Posts: 27
Joined: Mon Jul 17, 2006 2:21 pm

Postby FNB » Wed Oct 04, 2006 12:51 pm

florian wrote:Yes, you can simply ignore the named pipes.

Is it ok to totally ignore the folders mentioned above?

florian wrote:However, for synchronisation effectiveness, have you considered using rsync over ssh? I think this will be more efficient.

I have considered it, but it would require installing Cygwin on the backup server which I am not 100% comfortable with from a stability and security standpoint. Am I being paranoid? Anybody here have any experience with Cygwin?

ssiekmann

Postby ssiekmann » Thu Oct 05, 2006 1:05 am

cygwin on Windows is absolutely fine and stable. Just yesterday I rsynched 14GB of backup data overnight thru my home DSL from a Windows 2003 server to a Linux host over ssh. Worked just fine. rsync is your friend.

e.g. rsync -azv -e 'ssh -p 2222 -l root -i ./ssh/pubkey'
/var/opt/scalix root@dest.host.com:/backup

Cheers,

Sascha.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 0 guests

cron