Back up to LAN

I am using a mint 17.3 64bit system.

I want to back up my files to the WD My Book Live storage on the LAN.

However mint back up has no option to make back ups on the LAN. In the past I backed up to the desktop and then copied on the the LAN storage.

There must be a way to make back ups to the LAN. Any help appreciated.

Are you mounting the NAS at boot via fstab ?

Does the NAS require a password to login ?

Do you know the NAS IP address ?

Are you mounting the NAS at boot via fstab ?

Ans- No

Does the NAS require a password to login ?

Ans- No

Do you know the NAS IP address ?

Ans- Yes fixed IP Address

Okay can you mount the NAS share via the file manager (so you can see is contents)

then post the output from:

mount

userone@Office2 ~ $ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=userone)
userone@Office2 ~ $

Okay, that didn’t tell me what I wanted to know :-\

What’s the IP of the NAS ?

http://192.168.0.15

If you run:

mkdir /mnt/nas

then

sudo chown tramlink:tramlink /mnt/nas

then

sudo chmod 777 /mnt/nas

then

sudo mount -t cifs -o iocharset=utf8,dir_mode=0777,file_mode=0777 //192.168.0.15/share /mnt/nas

are the shares now available if you go to /mnt/nas ?

obviously you may need to change “tramlink” in the above command if that’s not your username.

and you may need to change //192.168.0.15/share if that’s not the actual shared directory on the NAS

Hi, changed user name
Entered share name on the nas.

go to /mnt/nas

I can see the folders within the named share (“public”)

First let’s backup your fstab … run:

sudo cp -v /etc/fstab /etc/fstab.bak

Okay now open fstab for editing:

sudo gedit /etc/fstab

and add a new line at the bottom that (following my above example) reads:

//192.168.0.15/share  /mnt/nas  cifs  iocharset=utf8,dir_mode=0777,file_mode=0777  0  0

(adjust that as necessary)

SAVE that file and exit gedit

then run:

sudo mount -a

if you get no errors … reboot, and see if after the reboot you can still access the share at /mnt/nas

if that worked and it’s now automounting the share at boot … just do your backing up to /mnt/nas

That seems to be working was able to back up files the the nas.

Hope they add LAN back up as standard with the next LTS update.