Server :: Backup Script / Routine That Is The Mounting Is Not Working That The Script Is Stopping?
Jun 7, 2010
I have made a backupscript that simply copy files to an external harddisk with the command cp -a.
Before the backup script start I'll mount the external harddisk with mount /dev/sda1 /mnt/USB/backup. And after the script the external harddisk will be unmounted.
This all works great. But when the user is forgotten his external device the script is written the files to the system partition and that is a big problem.I've seen a lot of backup scripts who has the same problem.
Can I build in some routine that is the mounting is not working that the script is stopping?
Or are there some better ideas to avoid this?
View 6 Replies
ADVERTISEMENT
Jan 27, 2010
I want to be able to mount an ftp account to a local folder, I have set up a ftp server that is working fine, I have tested it with a few windows ftp clients and it works fine. I am trying to use CurlFtpFS to mount it to /backup as I know it is supported but am running into an error I cant get around. I have tested that my box can access the server using the ftp command, see below
Code:
root@Fileserver:/# ftp 192.168.1.254
Connected to 192.168.1.254.
220 (vsFTPd 2.0.6)
[code]....
but when I try to use CurlFtpFS I get a Error connecting to ftp: Access denied: 530" error, see below
Code:
root@Fileserver:/# curlftpfs ftp://192.168.1.254
Error connecting to ftp: Access denied: 530
root@Fileserver:/# curlftpfs ftpuser:ftpPa$$w0rd@192.168.1.254 /backup
[code]....
View 2 Replies
View Related
Mar 4, 2011
As the title implies, the sound on my rig stops working after a while. Annoying as hell: I have to reboot my machine to get it to work again, which means that I have to reset my entire programming environment (with five full workspaces). I'm running 9.10 Karmic.
View 1 Replies
View Related
May 16, 2011
Boot of a new minimal system hangs on "Stopping save kernel messages" or "stopping system v runlevel compatibility". I have ubuntu minimal iso x86_64 from usb stick created with unetbootin (don't have a cd drive on the machine in question), and after that I didsudo aptitude install gnome-terminal network-manager-gnome gdm geditsudo rebootnever got a system back. Annoyingly I can't boot into the recovery mode either, and it seems the keyboard is only semi-responsive (i.e. many dead keys when at the grub menu).qualms about reinstalling, but I've done this a few times and ended up at the same place every time.
View 6 Replies
View Related
Nov 1, 2010
I'm running openSUSE 11.1. When I'm in Gnome or KDE or any Desktop session, the X server keeps running when I do an init 3, (i.e.) I'm still in the GUI instead of going to the console. When I type runlevel it shows that I'm in runlevel 3, but the X server is still running. The X server is not getting killed on an init 3.
View 2 Replies
View Related
May 11, 2010
I have report running through a Unix server. In this it takes out certain data of the database and sends it to each of the user's mailbox. But if some user replies or has set his out of office reply then this server keeps on sending h the same mail again and again. I need stop it.
View 5 Replies
View Related
Oct 17, 2009
I am having a problem in that the Web Server (Apache) keeps stopping. I know this as watchdog is emailing me. Then about 15mins later it starts again. I cannot seem to find why. can anyone give me pointers as where to look to find the issue.
View 1 Replies
View Related
May 10, 2011
I install and tested Restore EE Backup server on a test PC with basic configuration and its working fine.
[URL]
The issue i have is where is the location these backup snapshots or files are saving? I want to add a separate Storage to save the backup?
View 1 Replies
View Related
May 10, 2010
Does anyone know of any decent enterprise level backup solutions for Linux? I need to backup a few servers and a bunch of desktops onto one backup server. Using rsync/tar.gz won't cut it. I need like bi-monthly full HDD backups, and things such as that, with a nice GUI interface to add/remove systems from the backup list. I need basically something similar to CommVault or Veritas. Veritas I've used before but it has its issues, such as leaving 30GB cache files. CommVault, I have no idea how much it is, and if it supports backing up to a hard drive rather than tape.
View 7 Replies
View Related
Sep 7, 2010
Whenever my debian based server is rebooted 35 times it does an automatic disc check. When it does this and completes the disc check it doesn't properly establish network comms and I can't get in using SSH and I can't even ping the server.If I reboot again, it operates as normal but the problem is that the server is remote to me and I need to travel to the site when this occurs.
View 6 Replies
View Related
Jan 23, 2011
In December I finally filled up my root partition and broke Suse 11.1. I therefore resized my partitions and installed Suse 11.3 on /root. I didn't not touch my /home partition.
I notice that when I leave my machine and come back the screen has locked. I have tried to turn off the screensaver, but it hasn't worked. I have Googled, but unfortunately the screen shots don't look like what I have and the instructions to stop this do not seem to match what I am seeing on the screen.
Is there a way to do this via the command line?
View 7 Replies
View Related
Feb 8, 2010
I`m still new, curious and overwhelmed with the Rdhat 4 as i`m used to be more on other platform. Anybody can advise the routine maintenance that need to be done on the Redhat 4 server?
View 2 Replies
View Related
Mar 1, 2011
I have been scripting Inotify to work as file replication.It works very well for casual use when editing or uploading files. But I have to make sure it stands up against a "tar bomb" when we install a new package. EG: tar -xzf really_big_php_project.tar.gz
Code:
#!/bin/sh
# get the current path
[code]....
View 1 Replies
View Related
Jul 21, 2010
is there a way to turn off routine drive check?in running Ubuntu 8.04
View 1 Replies
View Related
Dec 16, 2010
Yesterday I installed (K)ubuntu via bootable DVD (And I use also Vista).I only could install it with all the options deactivated.After that it told me to remove the DVD and restart.After that I see only a black screen with a white cursor and nothing happens.When I choose Recovery-Mode i get this message and nothing happens:
My system:
CPU
AMD Athlon 64 X2 6000+ 60 �C
Windsor 90nm Technologie
View 2 Replies
View Related
Jul 5, 2011
I recently installed FC13 on my Acer 2920 laptop. During normal routine work, the system shutdown unexpectedly without giving any message. This problem continues every time I boot fecdora.
View 2 Replies
View Related
Apr 2, 2010
I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.
I have installed Ubuntu 9.10 server x64 and have got apache running.
I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.
View 4 Replies
View Related
Jan 13, 2010
My laptop keeps freezing after the routine disk check completes, along with a screen of jiggly colours. I also booted into safe mode and ran the disk check from there with the same result.
View 7 Replies
View Related
Oct 23, 2010
I am running shell command through C program using system() routine.
I am executing "opcontrol --status" an executable using the this routine and I get the following error. access: unix error (2) No such file or directory
But when I give the complete path to the executable it runs perfectly.
The executable is installed in "/usr/local/bin/" And the path variable has this path.
View 1 Replies
View Related
Jun 21, 2011
iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.
View 14 Replies
View Related
Jun 17, 2010
I have installed Mysql in Ubuntu 9, for the use of roundcube database.After installing iam getting the error like this
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
So because of this in the roundcube configuration its giving the error message that MYSQL is not installed. So Kindly give me a idea how to solve this.
View 1 Replies
View Related
Apr 30, 2010
i am using ubuntu 8.04 and i am facing a problem of mounting external pen drive, exernal harddisk or even other /dev/ partitions in my login mount is not working so i manually mount the partition by mount command .. but i dont know how i can resolve this problem ...
fdisk -l currently returns as
Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
[code]...
View 1 Replies
View Related
Sep 27, 2010
mounting file system in centos,(NTFS) I am able to mount hda5 which is NTFS in centos by editing /etc/fstab, but not able to mount sda7( also NTFS)at that same time,however after editing /etc/fstab i can mount one HDD at any time, making both entries in /etc/fstab is not working. BOTH HDDs are NTFS , one is SATA and other is IDE.
View 7 Replies
View Related
Mar 29, 2010
When I installed slackare 13 it detected usb drives and cameras automaticallyow it doesn't. I am runnning a 13.0 system, not current, so I have only applied the updates in that branch (iirc including a new kernel).nowadays when i plug a device in it does not seem to be detected by HAL (i.e not in KDE).However the device is listed if you use the command "lsusb" and the computer obviously knows it has been plugged in as there is a relevant entry in dmesg.Sorry for the generallised nature of the post, but I don't really know anything about HAL or how it can have stopped working
View 1 Replies
View Related
Aug 2, 2011
Setup1: Two rack mounted servers with a common storage device serving as the home directories for users on the servers. The storage device is a gfs partition mounted on the servers as the home directory using SAS cables. These servers have RHEL 5.4 as the installed operating system.
Setup2: A standard tower server with Debian 6 as the operating system used for tape backups. This has a tape drive connected to it.
Question: How to mount the storage device of setup1 using NFS on the server in setup2.
View 1 Replies
View Related
Jun 9, 2010
I created a profile for Yast Backup and successfully executed it manually. However, when I set up the Automatic Backup with the same profile it doesn't work. It will start at the scheduled time and do the "search" part of it but it hangs before it creates the archive. These two processes (backup_cron & y2base) remains running and never terminates.
Here are the last few lines in the Yast log before it hangs:
Code:
2010-06-09 20:08:05 <1> londy(1957) [YCP] backup/ui.ycp:2037 subprocess started: true (PID: 1958)
2010-06-09 20:08:05 <1> londy(1957) [YCP] backup/ui.ycp:1827 Reading installed packages
2010-06-09 20:08:18 <1> londy(1957) [YCP] backup/ui.ycp:1735 Number of installed packages: 1281
2010-06-09 20:09:17 <1> londy(1957) [YCP] backup/ui.ycp:1842 Searching in packages started
[Code]....
View 2 Replies
View Related
May 4, 2010
I'm an Ubuntu/Kubuntu user for a while now and i hav Kubuntu 9.10 with ubuntu-desktop installed.
I have two hard disks and i had one of the partitions mounted automatically while startup. I did that by reading the first method posted here
HTML Code: [URL]
It was working good till i did the distribution update to Kubuntu 10.04. After the upgrade while startup, a message is displayed on the screen saying
Quote:
"Disk to be mounted at /media/miscellaneous is not ready or is not there. Continue waiting or press S to skip mounting or M for manual recovery"
I dont know what to do. I have to skip and then mount the partition manually. I think the entry i added in
Quote:
/etc/fstab
is still there.
View 1 Replies
View Related
Mar 13, 2011
I currently have a centos 4.4 I believe running with a 250GB hard drive. I want to make an image of that hard drive. I have tried removing the drive and connecting it to my windows pc using an adapter that would allow my windows machine run the hard drive as it was a regular external hard drive. Of course windows doesn't reconize that drive since it is linux partitioned. I am thinking that I need to have the hard drive inthe box I am wanting to copy and put in a blank drive in the box that I want to copy to. And boot from a live CD and use cat or dd to copy it. I have seen the commands before bust I am thinking this is the only way. Basically I am wanting to have a duplicate of the drive and build a whole new server that is already all setup.I will just change the host name and assign it another Public facing UP. Is this correct? Oh, and the new server will have different hardware. Might even be AMD or intel different from source or destination.
View 12 Replies
View Related
Sep 11, 2009
I'd like to know what solutions do you, people, use to backup a live system that acts as a small home mail/file/irc/web server and some other purposes. For example, right now, to backup the mail, I have to stop fetchmail, kill vixie-cron to avoid any problem and then do the backup. Then restart vixie-cron.I wonder if there's any solution that will leave me do the backup without all this hassle.
View 3 Replies
View Related
Mar 17, 2010
When doing a routine update to GRUB, it asked me what drive/partition I want it installed on. When I clicked enter to pass the OK message, the update manager froze momentarily and then it passed the selection page, saying "Warning: Installing GRUB to a partition other than the MBR is not recommended"
How can I fix this?
View 1 Replies
View Related