I'm trying to make a backup script with rsync that backups "/opt/example" to /mnt/sharedfolder/backup
And with each output the name would show the date of the backup & time. Then there would be 5 backups each time before the oldest would get replaced. I found something that I think does what I need but every time I run it I get this message.
Code:
rsync error: syntax or usage error (code 1) at main.c(1511) [Receiver=3.0.7]
./backupscript.sh: 65: /mnt/hgfs/bminecraft/: Permission denied
BTW /mnt/hgfs/bminecraft/ is chmoded to 755 and yes that is the correct path.
So I was doing the update to 10.04 when a freak thunderstorm knocked out the power. I can no longer load onto ubuntu from the HDD. I have been told to either do an emergency back up using the 10.04 live disk. I am not sure what to do when it comes to that. I have also heard I can just repair the boot file on the HDD. I don't know how to do that either. I wouldn't mind I fresh install but I do not want to lose any of my data.
I'd like to have a list of changes from default install or installed packages, and modified configs in order not to to waste space on binaries. This way, when restoring the script can just check if the packages are there, do configs match, and adjust accordingly.
Newly installed Lucid and several programs to get it just the way I like it. I went to make a backup of the entire system with remastersys for the second time (first time was ok) but everytime it says iso file too big, which it is at 16gb plus. I have been through and double checked that my personnel files, pics, music, movies are all removed and my virtual machine. When checking with "Disk usage analyzer" it says I have 158.8GB free but when I check the home file system itself it says I have 150.1GB free. Note the missing 8.1GB. I believe this is the root of my inability to make a backup.
I have decided to remove Windows from my disk, but I want to keep my current install of Ubuntu.
One possibility that sprang to mind was to make an image out of my Ubuntu install.
Since I dual boot, the disk is numbered "SDA2" (extended) "SDA5" (root) and then there is Swap. (Windows is the first part of the disk)
One question sprang to mind:
If I make an image out of it, what happens to the numbers? Will there be any conflicts? Not to mention the question of which program would be best (and easiest to use, preferably with a GUI, since I want to save time, not learn code).
And if I would go for a binary dump to an external disk (to put it back when the destination disk is empty), would the same problems arise? Or would that bring even more problems, like the issue of the swap partition, which I would have to receate, since it wouldn't fit on the "dump disk"?
This is all because the whole thing sounds very similar to placing the ubuntu partition to the front of the disk, which, as I have been told, is not a good idea.
My ubuntu login window seems to be chrased and seems no way to restore it. I was planning to move ahead with reinstalling it but could any1 tell me how can i copy data to external hard disk. I am in Mannual restore section with promt staying at root@ubuntu :/#
As I checked some online backup solutions I have found information that all of this which I checked have only clients for Win or Mac. But I'm looking for solution with Linux client.As I have read some info on one of the Googled page Linux probably is ready for being an online backup solution as is.So my idea is to create automatic (in the background) backup of my files (photos and docs) with my outside hosting server. I have unlimited shared hosting server with ftp access. Is there any option to built such solution to make backup synchronisation between my Linux comp and shared hosting? What should I get to know to start with such option?
I have been using backintime so far. Now I am changing to 64bit and have installed backintime. I received first some kind of warning that the snapshots were converted to some new format. But still I can not do any snapshots with it, I am simply told backintime could not make any backups.
I would like to make a backup of my /home directory onto a NAS device, and have whatever software is used for the purpose update (new and changed files) every night, or perhaps everytime there is a period of inactivity. Any suggestions for a GUI package that will do this?
I do not want a complete backup each time, just the new or changed files. Also prefer software that backs up to a mirror of the original (i.e., uncompressed folders and files)
I would like to make a backup file from my fedora 12, in case if I have any problem with it, I could restore all my programs and settings from OS, I used do this with northon ghost in windows, but now in linux I don't know for sure. Yesterday I made a backup, in the end it was 34gb of his size, I wanna backup only what is used, how I do this?
What is best to make a image or a backup. Whit what for program. By a image form what partion do i have to make a image. By backup what directory to backup.
so that when by linux is corrupt i can do a reinstall.
I am trying to create a script which will backup all my data to a remote ftp serverI need to tar all folders inside /data separately /data/as - /data/as/001 - /data/as/002 - /data/as/003 /data/as/004 - etc etcfor dir in */; do dir=`echo $dir | tr -d '/'`; echo $dir; tar czf $dir.tar.gz $dir; done
Here is what I would like to pursue: I would aim to create a USB drive which a system can boot from if needed. However, this system would not be the generic Lucid 10.04 iso, it would have specific packages that my current system has. Also, it would start up and run with my current system settings if possible.
I did look into Reconstructor, but it doesn't appear that that would have the capibility of changing the default settings to match my current system's settings. Also, it looked like there wasn't a way to upload a list of current packages of my system (I would have to manually select each package, taking quite a while). So is there any way to make a bootable USB matching my current system? Or is reconstructor the closest thing to that kind of customiz-ability?
I'm trying to add a scheduled full backup to the crontab file, but the full backup never completes; it always stops somewhre in the file system. I guess is b/c the os is updating those files or has them open. I've tried to use the --exclude options but still it always hangs somewhere else.... this is what I'm usingtar -zcvpf /mnt/storage/backup/fullbackup1.tar.gz --exclude=/mnt --exclude=/sys --exclude=/proc --exclude=/lost+found --exclude=/net --exclude=/srv / > /mnt/storage/backup/fullbackup.log
Firstly I've never (successfully) upgraded before using update manager -d but I've only tried once. I'm on 10.10 at the moment but I want to make a full disk backup using Acronis and try out 11.04 beta 1 so if I can't boot (like with the 11.04 Alpha 3) I'm ok.
What I want to know is if I upgrade to beta 1 it will install new things and settings, if beta 2 is released and I upgrade to that (after having beta 1 installed) will it overwrite all the settings again? Or will I be able to spend time set beta 1 up nice how I want it (if it works) and just smoothly upgrade gradually to final 11.04 keeping it pretty much exactly how I want it?
Also with the software sources, I understand I need to disable the ones I manually added before updating from 10.10 then to re-enable them, but how do I re-enable them for Natty as they are currently for Maverick? Do I just change the word Maverick to Natty, or is it better to remove and re-add them for natty? And do the authentication keys need updating or are they ok? I don't really know a lot about the keys.
1 more thing (sorry) will an upgrade overwrite any settings I have e.g. etc/fstab, sudoers, things like that? I know when you upgrade it gives you an option for some things e.g. keep or replace, if I keep old settings from maverick does it matter? Or does 11.04 add new lines/things to these files if I choose replace?
Sorry for all the questions, I'm pretty new been using ubuntu as my only OS for couple months now and most of my time has been spent tweaking settings and I don't want to lose them, or do a clean install when 11.04 final is released as I won't ever be able to remember them all.
I need to make a scheduled backup of repository of subversion in ubuntu. E.g., backup the repository at 13.00 pm every Monday. May I need to write some hook scripts to do that? And I also have to recover the backup of repository. If possible, I want to backup the trunk of repository my repository is project1 /project1 /trunk /tags /branches
Tuesday night I wanted to make a backup of my Ubuntu ext4 partition via Clonezilla so I configured that an image had to be made and it would be saved on the NTFS external disk. But it said it needed 23 hours to create a 5gb backup, so I resetted my computer as this took too long. But after this, Ubuntu nor Windows recognized my drive.
I called Seagate and they told me after troubleshooting 30 minutes, that there is no option of fixing the drive and I had to send it to RMA. What could be wrong? Clonezilla works via a bootable ISO on Debian. The disk drive is still spinning. I already rebooted the external drive, but it's not working. In Linux the disk is no longer mounted and cannot be mounted:
Code: brw-rw---- 1 root disk 8, 16 2010-03-12 00:50 /dev/sdb brw-rw---- 1 root disk 8, 32 2010-03-12 00:50 /dev/sdc brw-rw---- 1 root disk 8, 48 2010-03-12 00:50 /dev/sdd brw-rw---- 1 root disk 8, 64 2010-03-12 00:50 /dev/sde
What could have happened? Would the data still be accessible on the internal drive? Did I just loose 1.5TB data that was stored on the external disk?
I have an issue that my BACKUP drive is listed twice. (internal FAT) I am running F12 32b. I have it listed in FSTAB so it will automount & set the permissions. I did this in the earlier versions I upgraded from. I would like to either get rid of the other entry or, if easier, make it auto & set permissions but I don't know where it is.
I got myself a dell laptop from the local computer store. Its a used machine with Windows Vista Home Basic on it. I want to load Ubuntu Desktop 10.10 though so I can do perl development. BUT I want to keep a copy of the entire harddrive with the dell utility partition and Windows Vista in case I want to go back. I was thinking I could image the drive but I not sure what to use, I don't have Ghost or anything, Someone had told me about Clonezilla. Would that work for me? Is it hard to use? Also I want to burn the data to a DVD or something more storable than a harddisk.
using Back In Time to backup my home directory to a second hdd that is mounted at /media/backupThe trouble is, I can do this using Back In Time (Root), but not using Back In Time without the root option. This is definitely a permissions issue - it can't write to the folder, but when I checked by right clicking on the backup directory and looking at the permission tab, it said I was the owner
I have a scheduled backup to run on our server at work and since the 7/12/09 it has be making 592k files instead of 10Mb files, In mysql-admin (the GUI tool) I have a stored connection for the user 'backup', the user has select and lock rights on the databases being backed up. I have a backup profile called 'backup_regular' and in the third tab along its scheduled to backup at 2 in the morning every week day. If I look at one of the small backup files generated I see the following:
Code:
-- MySQL Administrator dump 1.4 -- -- ------------------------------------------------------ -- Server version`
[code]....
It seems that MySQL can open and write to the file fine, it just can't dump
I've tried to google but not much luck. What I would like to do is have anumber of folders on my desktop and their contents, replicated/duplicated into another folder on the same PC in real time. So for example, if I were to change an OpenOffice document in a specific folder on my Desktop it would be replicated/duplicated in real time. If I had three folders on my Desktop A, B and C they would also appear/be backed up (in real time) in a folder called /home/backup. Can this be done?
does anyone know of a good backup software for Ubuntu 10.4 that will let me select which folders to backup, rather than a complete backup? My install and settings etc can be replaced, but my photos and memories cannot!
After I spent some time discovering The BIG BANG of Universe and The Meaning of Life :
I managed somehow to create a script to make some backup of files on server and TAR it and then FTP the archive to another location FTP server and then emails result.
It also measures time needed to complete it and deletes archive older than XX days (set in find -mtime +20) and makes incremental backup every weekday and FULL on Sundays (which suits me bcoz no heavy load).
Files for TAR to include and exclude are in txt files listed each line separate name:
This script simply deletes files older than a certain age (in this case 7 days) from a certain location; I use it to purge old backups nightly, and it works as expected:
# delete backups older than 7 days find /mnt/backup/* -mtime +7 -exec rm -Rf {} ;
The problem is, every morning I get an email with an error message something like this:
find: `/mnt/backup/subfolder': No such file or directory
I am trying to create a backup script that will back up a single folder for a class i am in. I was wandering if I could get some help. If possible I would also like to know how to write a script that can encrypt that same file . I will be putting the back up in my /home/usr/Backup directory. I am not trying to back up my whole system just a single folder. I am using Fedora 11