Page 4 of 4 FirstFirst 1234
Results 49 to 62 of 62

Thread: Automatic Backup software for ubuntu server?

  1. #49
    Chillie in here j.o.s.h.1408's Avatar
    Join Date
    Dec 2005
    Location
    a place called home
    Posts
    8,545
    Thanks
    757
    Thanked
    256 times in 193 posts
    • j.o.s.h.1408's system
      • Motherboard:
      • ASUS P6T Delux
      • CPU:
      • Intel core i7 920 @ 3ghz
      • Memory:
      • 3GB DDR RAM
      • Storage:
      • 1TB Samsung F1, 500GB Seagate baracuda + 320gb Seagate PATA +150GB WD PATA
      • Graphics card(s):
      • EVGA 480GTX SC edition
      • PSU:
      • Seasonic M12 600W Module PSU FTW
      • Case:
      • Lian Li PC-A7010B (the rolls royce of pc cases)
      • Operating System:
      • vista ultimate edition and windows xp
      • Monitor(s):
      • 22inch 2005FPW dell monitor
      • Internet:
      • 24mb BE There Broadband

    Re: Automatic Backup software for ubuntu server?

    How do i run it manually? also can u explain some of the syntax used in this script? im more of a java man so some of the syntax is a bit alien to me. i understand its doing some loop that syncs from what place to another? what does the --delete mean? that it deletes files from one of the destinations?

    edit: i have not tried tour above script but the script i originaly wrote, produces this error when i run it:

    Code:
    /etc/backupPictures.sh
    rsync: link_stat "/windows/mediahdd1/backupTest/sync" failed: No such file or directory (2)
    rsync: ERROR: cannot stat destination "/windows/NetworkDirectories/MSHOME/I7-PC/Pictures/*/": Transport endpoint is not connected (107)
    rsync error: errors selecting input/output files, dirs (code 3) at main.c(573) [Receiver=3.0.7]
    rsync: connection unexpectedly closed (9 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7]
    edit, i even tried the above script you just posted and got this error:

    Code:
    rsync: change_dir "/windows/NetworkDirectories/MSHOME/I7-PC/Pictures/*/Pictures" failed: Transport endpoint is not connected (107)
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7]
    script looks like this
    Code:
    #!/bin/bash
    
    for i in /windows/NetworkDirectories/MSHOME/JONATHAN-I7-PC/Pictures/*; do
        rsync -a --delete ${i}/Pictures/ /windows/mediahdd1/backupTest/sync/
    done
    Last edited by j.o.s.h.1408; 10-04-2011 at 06:06 PM.

  2. #50
    Splash
    Guest

    Re: Automatic Backup software for ubuntu server?

    to manually run the script open a console/terminal and do ./etc/backupPictures.sh - that should either run it or give you some sort of meaningful error. Looking at the error I'd guess that your remote PC isnt't mounted into your local filesystem on your Ubuntu server. If it is then I guess you could try unmounting then remounting?

  3. #51
    Chillie in here j.o.s.h.1408's Avatar
    Join Date
    Dec 2005
    Location
    a place called home
    Posts
    8,545
    Thanks
    757
    Thanked
    256 times in 193 posts
    • j.o.s.h.1408's system
      • Motherboard:
      • ASUS P6T Delux
      • CPU:
      • Intel core i7 920 @ 3ghz
      • Memory:
      • 3GB DDR RAM
      • Storage:
      • 1TB Samsung F1, 500GB Seagate baracuda + 320gb Seagate PATA +150GB WD PATA
      • Graphics card(s):
      • EVGA 480GTX SC edition
      • PSU:
      • Seasonic M12 600W Module PSU FTW
      • Case:
      • Lian Li PC-A7010B (the rolls royce of pc cases)
      • Operating System:
      • vista ultimate edition and windows xp
      • Monitor(s):
      • 22inch 2005FPW dell monitor
      • Internet:
      • 24mb BE There Broadband

    Re: Automatic Backup software for ubuntu server?

    i will try and mount it manually but what happened is that i used fusesmb and i thought it diddnt mount it properly as i received an error when i try starting it. However, when i browsed into that directory, i notice it was indeed mounted. i used WinSCP which is a awsome app btw

  4. #52
    Chillie in here j.o.s.h.1408's Avatar
    Join Date
    Dec 2005
    Location
    a place called home
    Posts
    8,545
    Thanks
    757
    Thanked
    256 times in 193 posts
    • j.o.s.h.1408's system
      • Motherboard:
      • ASUS P6T Delux
      • CPU:
      • Intel core i7 920 @ 3ghz
      • Memory:
      • 3GB DDR RAM
      • Storage:
      • 1TB Samsung F1, 500GB Seagate baracuda + 320gb Seagate PATA +150GB WD PATA
      • Graphics card(s):
      • EVGA 480GTX SC edition
      • PSU:
      • Seasonic M12 600W Module PSU FTW
      • Case:
      • Lian Li PC-A7010B (the rolls royce of pc cases)
      • Operating System:
      • vista ultimate edition and windows xp
      • Monitor(s):
      • 22inch 2005FPW dell monitor
      • Internet:
      • 24mb BE There Broadband

    Re: Automatic Backup software for ubuntu server?

    Quote Originally Posted by aidanjt View Post
    IIRC the syntax correctly, interfaces should be:
    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
    iface eth0 inet static
        address 192.168.0.3 
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

    Quick update. did the above a few days ago and it did not work actually. my router still changes the local ip address o my linux server pc!

  5. #53
    Splash
    Guest

    Re: Automatic Backup software for ubuntu server?

    You *definitely* have "static" on the 6th line up, and you restarted the network after editing the file?

  6. #54
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: Automatic Backup software for ubuntu server?

    Yeah it definitely shouldn't change once it's set to static - the router doesn't change anything, the client asks for a lease when dhcp is enabled.

  7. #55
    Chillie in here j.o.s.h.1408's Avatar
    Join Date
    Dec 2005
    Location
    a place called home
    Posts
    8,545
    Thanks
    757
    Thanked
    256 times in 193 posts
    • j.o.s.h.1408's system
      • Motherboard:
      • ASUS P6T Delux
      • CPU:
      • Intel core i7 920 @ 3ghz
      • Memory:
      • 3GB DDR RAM
      • Storage:
      • 1TB Samsung F1, 500GB Seagate baracuda + 320gb Seagate PATA +150GB WD PATA
      • Graphics card(s):
      • EVGA 480GTX SC edition
      • PSU:
      • Seasonic M12 600W Module PSU FTW
      • Case:
      • Lian Li PC-A7010B (the rolls royce of pc cases)
      • Operating System:
      • vista ultimate edition and windows xp
      • Monitor(s):
      • 22inch 2005FPW dell monitor
      • Internet:
      • 24mb BE There Broadband

    Re: Automatic Backup software for ubuntu server?

    Quote Originally Posted by Splash View Post
    You *definitely* have "static" on the 6th line up, and you restarted the network after editing the file?
    i edited the file using WinSCP and then after saving the changes, i then went into putty and did the restart. i know it worked right in and there because after i did the restart, i could no longer use the currently opened putty session as it succfully changed the local ip address back to the appropriate one

  8. #56
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: Automatic Backup software for ubuntu server?

    Check to see if it's been changed back to DHCP - something might be changing it. If that's the case then ideally, find out what it is and sort it, but the quick way would be to change write permissions of the file so it can't be changed.

    Edit: Hang on, isn't WinSCP an FTP client? Does that mean you're editing config files in Windows?
    Last edited by watercooled; 11-04-2011 at 12:44 PM.

  9. #57
    Chillie in here j.o.s.h.1408's Avatar
    Join Date
    Dec 2005
    Location
    a place called home
    Posts
    8,545
    Thanks
    757
    Thanked
    256 times in 193 posts
    • j.o.s.h.1408's system
      • Motherboard:
      • ASUS P6T Delux
      • CPU:
      • Intel core i7 920 @ 3ghz
      • Memory:
      • 3GB DDR RAM
      • Storage:
      • 1TB Samsung F1, 500GB Seagate baracuda + 320gb Seagate PATA +150GB WD PATA
      • Graphics card(s):
      • EVGA 480GTX SC edition
      • PSU:
      • Seasonic M12 600W Module PSU FTW
      • Case:
      • Lian Li PC-A7010B (the rolls royce of pc cases)
      • Operating System:
      • vista ultimate edition and windows xp
      • Monitor(s):
      • 22inch 2005FPW dell monitor
      • Internet:
      • 24mb BE There Broadband

    Re: Automatic Backup software for ubuntu server?

    im not sure how i would see who is changing it. maybe its the netgear router.

  10. #58
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: Automatic Backup software for ubuntu server?

    No it wouldn't be the router, like I said the router doesn't change anything, when the client is set to DHCP it requests a DHCP lease, when it's set to static it doesn't need to. If anything it would be a program on the system.

  11. #59
    Chillie in here j.o.s.h.1408's Avatar
    Join Date
    Dec 2005
    Location
    a place called home
    Posts
    8,545
    Thanks
    757
    Thanked
    256 times in 193 posts
    • j.o.s.h.1408's system
      • Motherboard:
      • ASUS P6T Delux
      • CPU:
      • Intel core i7 920 @ 3ghz
      • Memory:
      • 3GB DDR RAM
      • Storage:
      • 1TB Samsung F1, 500GB Seagate baracuda + 320gb Seagate PATA +150GB WD PATA
      • Graphics card(s):
      • EVGA 480GTX SC edition
      • PSU:
      • Seasonic M12 600W Module PSU FTW
      • Case:
      • Lian Li PC-A7010B (the rolls royce of pc cases)
      • Operating System:
      • vista ultimate edition and windows xp
      • Monitor(s):
      • 22inch 2005FPW dell monitor
      • Internet:
      • 24mb BE There Broadband

    Re: Automatic Backup software for ubuntu server?

    umm. i will try and make the interface file readme only then and see fi that works. the interface file never gets overwritten though. when i notice the ip was changed, first thing i checked was that file and it was still intact.

  12. #60
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: Automatic Backup software for ubuntu server?

    Oh well it won't make any difference locking it then. Are you sure the IP address is changing? It could be the network driver locking up, especially if it's a Realtek NIC - I had this problem myself.

  13. #61
    Splash
    Guest

    Re: Automatic Backup software for ubuntu server?

    can you post the contents of /etc/network/interfaces ?

  14. #62
    Chillie in here j.o.s.h.1408's Avatar
    Join Date
    Dec 2005
    Location
    a place called home
    Posts
    8,545
    Thanks
    757
    Thanked
    256 times in 193 posts
    • j.o.s.h.1408's system
      • Motherboard:
      • ASUS P6T Delux
      • CPU:
      • Intel core i7 920 @ 3ghz
      • Memory:
      • 3GB DDR RAM
      • Storage:
      • 1TB Samsung F1, 500GB Seagate baracuda + 320gb Seagate PATA +150GB WD PATA
      • Graphics card(s):
      • EVGA 480GTX SC edition
      • PSU:
      • Seasonic M12 600W Module PSU FTW
      • Case:
      • Lian Li PC-A7010B (the rolls royce of pc cases)
      • Operating System:
      • vista ultimate edition and windows xp
      • Monitor(s):
      • 22inch 2005FPW dell monitor
      • Internet:
      • 24mb BE There Broadband

    Re: Automatic Backup software for ubuntu server?

    the contents is same as above.

    so far so good, it hasnt changed the local ip but i will observe it throughout the week and see what happens.

    edit: i am going to try and manually mount one of the directories on my i7 pc and see if i can run the script based on that location.

Page 4 of 4 FirstFirst 1234

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Best Linux CLI or GUI based Backup Software?
    By Tomahawk in forum Software
    Replies: 4
    Last Post: 11-02-2010, 06:14 AM
  2. Backup software for 2003/2008?
    By Barry in forum Software
    Replies: 15
    Last Post: 14-03-2009, 07:14 PM
  3. Which backup software
    By bogart in forum Software
    Replies: 14
    Last Post: 23-10-2008, 10:00 PM
  4. Simple Backup software required
    By pickers in forum Software
    Replies: 4
    Last Post: 14-03-2005, 08:25 AM
  5. Backup software
    By Shad in forum Software
    Replies: 11
    Last Post: 30-07-2003, 02:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •