Ubuntu :: Way To Have Automated System Backups?
Apr 23, 2010
What would be the best way to have automated system backups? I'm trying to get it so my Xubuntu box automatically backs up the entire system including user settings on regular intervals, what would be the best way to do it? I have 2 hard drives with one that I do not use that I'd like to backup to.
View 2 Replies
ADVERTISEMENT
May 16, 2011
I am in the process of writing an rsync script to run unattended backups of my entire file system to another system located on my local network using ssh and password-less rsa keys.
I will absolutely will not use password-less keys with the root account and this is the limitation preventing me from accomplishing my goal because root is required by rsync to access the / tree and copy it to another location. I decided that if I compiled the script into a binary that I didn't have a problem with the password being contained within the binary itself but from what I've read there is no way to elevate to root and then back down to user level from within the script/binary.
I can create the script as the user and use chroot to make it owned by root but retain execution permission for the user but it will still cause the ssh login to be under root and therefore require either that I am there to enter my password or the use of password-less keys under the root account which I reiterate I will NOT do. Currently the script is executed by the user on the machine containing the files to be backed up.
View 9 Replies
View Related
Mar 13, 2010
I'm trying to find a secure way to backup files on my Prod Server to Backup Server. It must be automated, so I will need to run a command with cron which will login to Prod Server from Backup Server and backup data. 1. Do you think it would be secure enough to do this by creating an passwordless RSA private key on Backup Server and adding it's public key to authorized_hosts file on Prod Server? I can't think of a way to Automate this without having to enter any passwords without passwordless RSA key. Is there another. more secure way? 2. Should I create a special user for backup, which will only have read access to all files in the directory that I am backing up? If so, How can I run a check that this new backup user indeed has read access to ALL files in the folder that I intent to back up? How can I ensure the backup process will not skip files due to some permission problem? 3. I'm thinking of using rsnapshot tool, which uses rsync.
View 10 Replies
View Related
Mar 5, 2010
I am trying to set up an automated installation system for hardware testing and was wondering if anyone on here can point me in the right direction.I would like it to be compatable with a wide range of OS distros including Ubuntu, Red Hat, CentOS, Suse, Windows, Dos, FreeBSD, etc. If some custom scrypting is required thats fine, but flexibility is key.I am looking into Jumstart and Kickstart right now, but I am not sure if that is what I need.
View 1 Replies
View Related
Jun 17, 2011
I have a client that needs 5 machines updated. They are all running Ubuntu 9.04. Long story short, I can only log in over VPN for the time being (as they're in another city).
That said, is there any good way to remotely update the systems without the need to remain logged in (e.g.via SSH)? I'd like to simply kick off the updates and check back in at a later time.
View 6 Replies
View Related
Nov 25, 2010
I'm having some trouble to find a file system that allows me to backup my data to an external HD, and then access this data in other Linux (and sometimes windows and mac) machines.
The file system that I'm looking for must:
- have no user permissions: anyone can do anything with the data;
- have support to large files: I've used FAT for a while but it just sucks;
- maybe support access in windows and or mac with additional drivers;
- have journaling (or something of the sorts) to reduce the risk of data loss.
View 8 Replies
View Related
Feb 3, 2011
I've been a DOS/Windows guy for 20 years, and recently became a SW test lab helper. My company uses CentOS for a lot, so I've become familiar with it, but obviously not as comfortable as I am with Windows.
Here's what I have planned:
machine: Core 2 Duo E8400, 8GB DDR2, 60GB SSD OS drive, ATI 4650 video card, other storage is flexible (I have 3 1TB drives and 4 750GB drives around that can be used in this machine.)
uses: HTPC, Network Storage, VMWare server host: SMTP, FTP server, and Web server virtual machines
I've figured out how to do much of this, but I haven't figured out how to do backups in Linux. I've been spoiled with Windows, with the built in backup system so simple to use. I find myself overwhelmed with the array of backup software, and unable to determine which to use. none of them seem to do everything I need them to do, but some come close, I think. I'm hoping someone here can help me out in figuring out which program to use and how to use it.
Here is what I need the backup software to do:
1. scheduled unattended backups, with alerts if the backups fail
2. a weekly full backup with incremental every 12 hours
3. removing the old backups when the new full backup runs, I would prefer to keep 2 weeks of backups, but that's not necessary
4. a GUI would be preferable, since my arthritic fingers don't always do as I want them to do. I typo things a lot, and the label worn off my backspace can attest to that.
View 7 Replies
View Related
Mar 24, 2010
I am looking for an automated backup system and I like bacula. I have 3 Notebooks and a Desktop computer that need regular backup. Now I don't want to let them run all night just to do the backuping, so I was thinking I could use wake-on-lan to have bacula wake up the machines, then do the backups, and shut them down afterswards. While this may work with devices on the ethernet, it won't work with the Notebooks on the wifi. So is it possible to have the Notebooks schedules to automatically wake up from suspend or shutdown ? Or is it possible to interject a shutdown command if it is after a cerain hour and call the bacula director to start the backup now?
View 2 Replies
View Related
Nov 12, 2009
How do you get Rsync to do incremental backups rather than full backups? At the moment I have a script that will create a backup folder (if it doesnt already exist) then copy the source files into the backup directory with the command
rsync $VERBOSE --exclude=$TARGET/ $EXCLUDE --exclude '/Ls-wtgl1c8/**' -rt --delete $source/ $TARGET/$source/ >> $LOG_FILE
Target is where the files will be backed up to Sources is the dir(s) to be backed up Exclude files is the list of files not to backup
log file is where the output will be saved to. At the moment it only does full backups, but I would only like to do incremental, how would this be achieved? Am I missing out an option in the Rsync that is required.
View 9 Replies
View Related
Aug 28, 2010
Rsnapshot is a software written in Perl to make backup of local and remote file system. The well proven rsync is behind this utility. rsnapshot does not need root user intervention to restore the data of a normal user. It does not take much space in your Backup server. It can be easily automated (scheduled) to make life easier. Just setup once and forget it configuration. Basically it takes snapshot of file system (or a part of) in regular interval such as hourly, daily, weekly and monthly.
This can be configured easily through a simple text based configuration file. The above task can be setup in a few easy steps in a few minutes. Two major tasks are configuring rsnapshot and openssh automatic login. To make the backup automatically, we need to automate the remote login in a secured way. This can be done through openssh tools. This scenario depicts backup of desktop (assuming that IP address is 192.168.0.100) data to a backup server. My desktop runs on Ubuntu 10.04 and backup server runs on Debian Squeeze. [URL]
View 2 Replies
View Related
Jan 14, 2010
have downloaded from internet to a mp4 format, so I can play them in my Nokia 5800.This is command line that works perfectly:ffmpeg -i "input.avi" -f mp4 -vcodec libxvid -s 640x360 -b 768kb -r 25 -aspect 16:9 -acodec libfaac -ab 96kb -ar 44100 -ac "output.mp4"n:Is there a way to make it really quiet so I can run it from cron..
View 2 Replies
View Related
Aug 9, 2010
I am trying to put together a customized automatic installation of Ubuntu 9.10 Desktop for a set of computers I manage at work. Since there are other servers in my department that are Red Hat based, I was introduced to Kickstart so I have been using that exclusively.
I have almost my entire installation automated using Kickstart with the exception of the partitioning, which is as follows:
My problem that I am asking for help on is that the Kickstart automates everything until the clearpart, where it then asks 2 questions which I would like to figure out how to automate the answers to (preferably within my Kickstart script)
The first question is the install process telling me about my currently configured partitions and mount points. Asking me if i want to "Undo changes to partitions" or "Finish Partitioning and write changes to disk" which I of course want to finish partitioning.
The second question is telling me if I continue the changes listed will be written to the disks, and asks if I want to "Write changes to disks?" which I want to select Yes for automatically.
Like I mentioned before I have searched the web and this forum for any potential way of doing this, but so far have come up with nothing, so I figured I would ask the experts out here and see what suggestions come up. I realize the Kickstart is not completely implemented in Ubuntu, however since I have everything written in Kickstart already I would prefer to stay within the Kickstart script to fix this.
View 1 Replies
View Related
Feb 4, 2011
any way to set up an at or cronjob that will give some sort of notification that's readily apparent while using GNOME? I've tried a number of things including setting up a job that would run "gksu gedit" just to lock up the screen and remind me.
View 1 Replies
View Related
Mar 6, 2011
I was wondering if there are any tools that automate the process of installing from source for example tar.gz or tar.bz2. I have used kludge installer but I am looking for something that doesn't make me install any dependencies for example I want a bash shell script it just runs the commands you normally do but faster.
View 2 Replies
View Related
Feb 3, 2010
I tried remastersys, but has to install graphical stuff for the ubiquity. I don't need an installer, nor any gui packages. Is there another good automated program or script that works great for making compact text/console only installs?
View 1 Replies
View Related
Mar 3, 2010
I am trying to use autoexpect and can't seem to get it working. I installed expect and expect-dev and have the autoexpect example files but when I try the % autoexpect command from the terminal all I get is;"bash: fg: %: no such job" - what do I need to do so I can get this to work? I am trying to create a script for an automated SFTP connection. I created a bash script that works okay but it gets stuck at the password prompt and I heard that autoexpect would be the best way around that
View 2 Replies
View Related
Apr 13, 2010
I'm trying to make a automated build-script with bash but i keep getting different errors.
Code:
#!/bin/bash
gpg --import /home/epm/first_installation/config_chroot_sources_local.gpg
gpg --import /home/epm/first_installation/config_chroot_sources_packages-inl-fr.gpg
[code]....
View 5 Replies
View Related
Apr 17, 2010
What's the current best practice for automounting a remote drive for automated backup? I want to use Back in Time and maintain snapshots but it can't do that remotely so I have to mount a folder outside of Back in Time. I have used sshfs from this howto in the past and it works mostly but seems to lose connection and not reconnect a lot. [URL]. Is there a more "modern" way? NFS is horribly unreliable and dog slow for me so it's OUT unless it's changed in the last year.
View 1 Replies
View Related
Aug 25, 2010
vote on the best automated deployment for 10.04 lts desktop! have 50units identical pc's, one pdc (openldap, bind, dhcp) and one fs (nfs server). thinking of installing just one pc with all the updates, program addons and stuff, then thinking of: disk image the disk and copy to the rest of the 49units and just edit the host name and activate the etho by sudo mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.old would this be ok? i mean there will be no problem if users authenticate an stuff?
View 7 Replies
View Related
Oct 5, 2010
i have a windows xp desktop machine that i've been using as a fileserver throguh sharing my 4 external usb drives attached to it. I want to replace this sytem with ubuntu (unless theres a different alternative for waht i want to do?). the problem is its not a standard install i can just do.
- first, the desktop has no keyboard mouse or monitor connected and i generally used vnc to control it.
- the computer right now is heavily infected with some kind of virus. disabld all my anti virus software, wont allow me to use new ones, etc.
my only option really is to wipe it clean and this time not xp, i want ubuntu. is there a way to configure an ubuntu install (or find a preconfigured install) to basically boot automatically from cd/usb drive when i restart my computer, do the install with no user intervention, and upon finalization install a vnc server on the install so i can get back in.
please remember this is my first time wiht ubuntu and while i know more than your average user about computers, id ratehr not muck around. i jsut want to be able to download a standard install, put a file on the installation cd or usb drive and let it install itself.another note, 4 of my external drives connected via usb are ntfs, and 1 is hfs. can ubuntu read/write to all of these systems? if not out of the box, can i later enable these filesystems somehow?
View 7 Replies
View Related
May 26, 2011
I have created an automated backup using the following:
[Code]...
When cron runs it creates a .tar like it is suppose to, but it creates archive-.tar. However, when I manually type in that command, I get archive-"whateverthedateis". Is there a step that I missed since the date keeps being omitted by this cronjob. I tried a another method
[Code]...
View 3 Replies
View Related
Jul 12, 2011
I'm fully aware that Linux, and Mac OS X are a far reach from Windows when it comes to viruses. I run Xubuntu 11.04 on the netbook, and Mac OS X 10.4 on a Mac Mini. But, and I now wish I kept the email and didn't delete the account, but the following happened recently: I received an email, from myself (I was on my own contacts list) that was sent to a few others on my contacts list - an email I did not send out. There was no subject, and an unclickable link that - once copy/pasted and gone to, was "Forbidden," even when you took the /s away and went to the main site, it was "Forbidden." It was a .be website (Belgium). Being that one of the recipients was "noreply@craigslist.com" I can only assume that this email was automated.
It was only sent to a few addresses, all of which were tied to my account. I changed the password, deleted my contacts, and deleted the address (and have a new one elsewhere). I ran ClamAV on here, an antivirus on my Mac Mini (and I'm running a different one now), and thus far, absolutely nothing. So my question is - Is it, then, even reasonably possible that either of my computers are infected, and if not, how did this occur? I'm just taken aback a little, considering I don't use or have Windows on any machine that I own, and extremely rarely use Windows when elsewhere (and not at all recently).
View 9 Replies
View Related
Apr 18, 2010
I want an automated install (via CD or USB) of Ubuntu 10.04 ...on 100 remote machines located all over the country, using a Kickstart configuration file accessible from my web server.
How do I create the boot CD (or USB)?
How do I specifically add the boot parameters to that boot CD (or USB) to tell it the URL to use for it's automated Kickstart install?
View 4 Replies
View Related
Sep 27, 2010
This is my first post and I am a linux newbie.. took on the challenge of setting up an ubuntu server with proxy and firewall with vpn access as well.. sounds good? While messing with things, I installed ebox server, know called Zentyal and perform backups, however, when performing a full restore, following instructions and all it does not restore correctly. I ran many attempts with verious configurations and still allways got some errors, such as eboc-ebackup failing to start, etc. most noteably wa sthe ldap error, which i figured out how to fix by restarting once logged into and then rebooting.
I say the Clonezilla options for a full backup, and it sounds great, but does require me to perform a full abckup, while bring the server down to perform. What I wanted to know, was what do you recommend for performing a full backup (possibly to NTFS partition or USB key with FAT32) with automation or even if i had to perform the trigger, just without needing to bring the server down, so when i go into production i dont have any issues backing up anytime?
View 2 Replies
View Related
Nov 17, 2010
I backed my photographs with K3B in Suse, prior to installing Ubuntu. Now I can't access them. Well I can but not with Ubuntu or Windows 7. Suse (KDE) on the family computer reads them with no problem?? I'm confused. Is there something that KDE has that Debian doesn't. there's nothing wrong with my system exept for this. Reads cd's and dvd's.
View 2 Replies
View Related
Jul 30, 2011
Presently I am following [./configure | make | checkinstall] way for local box.
And need gpg signature , copyright etc... for disturbing
Is there any automated CLI/GUI tool to make .deb from source ?
View 14 Replies
View Related
Mar 7, 2010
It there a way to enable automated mouse cursors in Fedora 12? About the only thing I miss from WinDoze is the animated hourglass cursor when I start an application by double-clicking its icon. With Fedora, I'll sometimes double-click an icon again, thinking that my first attempt didn't work, only to find that the program was loading and then I have two instances of the program.Yeah, it's a minor thing and, yeah, I can live without it, but it sure would be nice.
View 1 Replies
View Related
Apr 30, 2010
I am trying to create a script to do the following.. Login to a ftp and download a with the following naming convention xmtvMMDDYY.xml.gzon a daily basis followed by extracting that file. which I can do easy enough with a static filename. but the variable filename is throwing me off. I was planning on doing a mget with wildcard to just grab the entire directory but this found to not be as clean as I had hoped. Mainly due to the admins of the ftp keeping multiple days of the above mentioned file on the site.
View 2 Replies
View Related
May 13, 2010
I am involved in a project where some regression tests are to be automated. Could you please tell me what are the testing tools that are available for doing automated GUI testing in Linux?
View 2 Replies
View Related
May 21, 2011
I am making some scripts to automaticly install linux-software.gcc,kernel,binutils, etc.) I have made a command to extract the packages, but how can I check if I can re-use my already extracted source-archives?
View 3 Replies
View Related