Azitech

Azimout's Linux weblog

backup to an smb share

leave a comment »

To connect to an smb share, backup a local directory, and then disconnect:

sudo mount -t smbfs <smb_share> <mount_point> -o username=___,uid=1000,mask=000
cp <directory_to_backup> <mount_point> -r -u -v
sudo umount <mount_point>

Note that you’ll be asked for two passwords: one is for sudo, the other for the smb

Powered by ScribeFire.

Advertisements

Written by azimout

16/11/2007 at 10:30

Posted in Howto

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: