Debian :: Dd Command - Backup Over LAN

May 10, 2010

My church is planning to purchase a NAS serving 9 PCs running Windows and Linux respectively. The new device apart from storing data, mainly photo, is expected to be used for backup keeping all PCs images.

I have been googling a while unable to find a solution running dd command over LAN.

View 9 Replies


ADVERTISEMENT

Debian :: Mdadm Create A Backup File After Grow Command

Feb 27, 2016

I launch a mdadm grow to expand my filesystem but I forget --backup-file.I have my server running and one UPS.

Code: Select allpk25.com:~# mdadm --manage /dev/md0 --add /dev/sde1
mdadm: added /dev/sde1
pk25.com:~# mdadm --grow --raid-devices=5 /dev/md0
mdadm: Need to backup 3072K of critical section..
pk25.com:~# mdadm --grow --raid-devices=5 --backup-file=/root/md0-grow.bak /dev/md0
mdadm: /dev/md0 is performing resync/recovery and cannot be reshaped

[code]....

View 0 Replies View Related

Debian :: Backup Purge Script - `/mnt/backup/subfolder': No Such File Or Directory

Nov 10, 2010

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

View 2 Replies View Related

Debian :: Used Backup-manager - Restore The Backup Data?

Feb 4, 2011

I am now preparing myself to upgrade lenny to squeeze and decided to do a backup on my system. I used backup-manager to do the job and it worked fine. how do you restore said backup data?

View 4 Replies View Related

General :: Backup With DD Command?

Jul 21, 2011

my laptop has a 320 GB hdd which is dual booted with win 7 and linux mint.If i remember i dont think i am using the entire 320 GB from the hdd,may be around some 200 GB.If i use a DD command and back it up to an external 500 GB hdd,will it back the entire 320 GB or only the data which is of 200 GB ?

I want to have a full backup of my HDD ,incase the hdd fails in laptop i can mirror it to a new hdd from the external hdd.

View 1 Replies View Related

Ubuntu :: Backup Evolution From Command Line?

Mar 11, 2011

Sadly I am unable to login to a particular user via the GUI, but that is another thread [URL].

I know that you can create a single backup file of all your emails and settings when you have access to the GUI in Evolution. Since I am unable to login to gnome (or KDE) but I am able to login to the command line by su to the user I would like to create a that evolution backup file. I will be reinstalling Ubuntu.

View 3 Replies View Related

General :: Rsync Command - For File Backup ?

Mar 23, 2011

I'm going to be using this command to back up my files:

Should I change anything or is it ok?

View 4 Replies View Related

General :: Backup Program / Command For Ubuntu?

Apr 3, 2011

I'm new to Linux and I am currently using the Ubuntu distro. What I'd like to know is whether there is a program or command I can use to back up my hard drive with Ubuntu? I have an external drive that I can use for this purpose but I don't know how to set it up for Ubuntu or Linux generally.

View 2 Replies View Related

Server :: Command To Backup An Image Or .iso File?

Mar 3, 2011

Is there a way/command to back up all data from a Red hat Linux 4 serve[Including user rpofiles, data, group info, encrypts] either to a Red hat Linux 5.4 machine or as an Image file or manageable resource?

View 1 Replies View Related

General :: Backup - Any Copy And Verify Command In Ubuntu?

Dec 5, 2010

I back up all my digital photos to a couple of places. I've been using the cp command, but--given the personal value--have started to wonder if there's a more reliable way. I'm no stranger to Linux, Bash, Perl, etc., so I could write something to copy and compare md5 hashes, but I was wondering if something already exists (reinvention, wheels and what-not).

Most of my googling for copy and (verify|valid|check|hash|confirm) turns up rsync. However, as far as I can tell, rsync only uses hashes to see if a file needs to be updated. It doesn't perform a hash comparison afterward. For this use, specifically, the files are binary and typically 8-10MB.

View 3 Replies View Related

Server :: Backup Nightly Some Items And Using A Command Line?

Jan 30, 2011

I have 2 'how-to's' with rsync neither are working. I need to backup nightly some items and using a command line, I am prompted with a password, enter and it works. I now tried these 2 items in the shell script, both of them still when run prompt for a password. I have tried;

#!/bin/bash
export RSYNC_PASSWORD=passwordhere
- and -
also created a blank file called pw (to test) and then tried
#!/bin/bash
rsync --password-file=/pw xxxx

Both of those options when run still prompt for a password. These severs are running old RH9 servers.

View 3 Replies View Related

General :: Dump Command Backup Entire File System?

May 22, 2010

Does the dump command back up entire file-systems or is it capable of backing up subsets of a file-system? And is tar capable of taking device names (for file systems) as input to be archived?

View 1 Replies View Related

Server :: Rsync Error - Command To Backup Image File

Oct 6, 2010

when i use rsync command to backup my image file , it shows the following error message.

bash: line 1: /usr/bin/rsync: Argument list too long
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: remote command could not be run (code 126) at io.c(463) [receiver=2.6.8]

The command which i used is rsync -avrl -e ssh cms@server:/data/cms/data/images/* /mnt/Backup/Intranet_cms_backup/images

View 7 Replies View Related

Ubuntu Security :: GRsync --Exclude Command Syntax / Backup A Whole Startup Disk To Another?

Jul 19, 2010

I'm trying to backup a whole startup disk to another with GRSYNC but I don't need some files or directories. For example, I don't want to backup my 'swapfile1' (I do not have a dedicated swap partition) or the 'media' directory' in order to no enter a looping sync.I've searched the web for the correct syntax of the --exclude command but none have worked if applied in the advanced option "before" rsync starts. These a sample of NOT workin syntaxes:

exclude /media or -- exclude 'media' or -- exclude "media"

same for swapfile1:

exclude swapfile1 or -- exclude 'swapfile1' or -- exclude "swapfile1"

View 7 Replies View Related

Debian :: How To Create Backup

Nov 17, 2010

i ma trying to learn how to configure lot of server's in Debian Distro what i want to to create backup from the original files easy to restore cos if i miss any configuration it will easy to restore omething like restore point in windows

View 6 Replies View Related

General :: "cp" Command - Called BACKUP And Is Initially Empty

Jan 10, 2011

I'm in a directory containing various files and subdirectories, one of which is called BACKUP and is initially empty, what exactly happens if I launch the following command line:

Code: cp -R . BACKUP???

If I'm not mistaken, all the content of the current directory should be copied into the BACKUP directory, apart from the directory BACKUP itself. Actually I get a message saying something like:

Code: cannot copy a directory onto itself BUT when I look into the BACKUP directory I find another directory called BACKUP which I did not expect to find. Moreover, if I launch the same command again I get the same message (repeated two or more times) and then I find that inside the "second" BACKUP directory there is a third one, with the same name again. In other words, every time I launch the command I get a deeper tree of "BACKUP" directories, as if the command was messing everything up. I know that most probably I'm the one who's messing things up and I also know the "problem" can be easily bypassed by using as a destination for the copy a directory located elsewhere, but I'd like anyway to understand the reason for such a behaviour.

View 3 Replies View Related

General :: "find" Command In Backup/zip Script?

Feb 13, 2011

I am fairly new to scripting and I am trying to write a script that finds and zips a file named file1.xml from multiple sub-directories. So basically I want to find them and zip them all together. The disk directory structure is as follows:

/mnt/data/user_name1/db/file1.xml
/mnt/data/user_name2/db/file1.xml
(etc, etc where user_name varies)

This is what I have so far, but I keep getting an error relating to the -name command.

filename=`date +%d%m%Y-%H:%M`
find /mnt/data/ -name file1.xml -maxdepth 2 -type d | zip -rp $filename.zip -@

I keep getting the following error but don't know how to fix it. Is what I am trying to do even possible?find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).

View 4 Replies View Related

Debian :: Create Automatic Backup

Feb 8, 2016

Like topic, I want to create a weekly backup of some folder to anoter partition (or external usb), compressed or not (folder also of 20/30 gb), with only root permission on file (or folder) created..This system, where I have installed debian jessie, is always on being used like a NAS..

View 1 Replies View Related

Debian :: Restoring An Rsynced Backup?

Jan 23, 2010

the links are my stage of backing up my / and /home, both on different partitions.
short-sum up: with rsync, 2-weekly, manual on an external disk.

viewtopic.php?f=10&t=47836&start=0
viewtopic.php?f=10&t=48582

all my test restores in vbox worked fine. i may use the backup as a second OS, so it works. but there i first deleted the old OS and than ran cp -a /media/backup_partition /media/restore_parititon.

yesterday i ran into trouble and had to restore my system.
mount /dev/sda1 /media/restore
mount /dev/sdb1 /media/backup
rsync -auv /media/backup/ /media/restore

that did work, but not so good. dpkg-errors, all non-repo-apps, like opera and some old thrash, were a mess. i had to reinstall them with dpkg to delete them. besides that the system is up and running, but it was a lot of work.

View 12 Replies View Related

Debian :: How To Backup Wicd Profiles

Mar 28, 2010

I would like to backup my wicd profiles. I thought it would be sufficent to copy /opt/wicd/data and /opt/wicd/encryption - however, those path do not exist in lenny (which I am running). So which path / folders / files do I need to backup in order to back up the wicd profiles and configuration?

View 1 Replies View Related

Debian :: How Do You Install Gmail Backup 0.107

Mar 12, 2011

How do you install Gmail Backup 0.107?I downloaded the zip file and extracted it to the download folder. What is the command to install it?

View 10 Replies View Related

Debian :: Configure Backup PC On Jessie

Sep 9, 2015

I have been a windows user for a very very long time, and recently switched to debian. I have so to speak crapped all over my system failing to compile sourcecode properly held broken repos and what not.

So decided to reinstall debian last night, now I have a rather clean fresh installed copy. As I'm a new user to linux, I want to setup a backup system so I can revert to a clean fresh installation when I muck up my system.

Now I have downloaded and installed BackupPC with needed libraries and sitting here trying to configure it on my computer. I have followed this guide: [URL] ....

I have come to this section here:

**********************
Server SSH KEY Creation and Deployment:

3. Deploy Key To Client Machine
Copy id_rsa.pub to client machine

backuppc@server$ scp /var/lib/backuppc/.ssh/id_rsa.pub sudo-user@<client machine>:/home/sudo-user/backuppc.id_ras.pub
backuppc@server$ ssh sudo-user@<client machine>

sudo-user@client$ chmod 600 backuppc.id_ras.pub
sudo-user@client$ sudo mkdir /root/.ssh
sudo-user@client$ sudo chmod 700 /root/.ssh
sudo-user@client$ sudo mv backuppc.id_ras.pub /root/.ssh/authorized_keys
sudo-user@client$ sudo chown root:root /root/.ssh/authorized_keys

********************************************************************

Now I'm not quite sure what to do here as I have no networked computers to deploy to only one machine. Although I want to make a local system backup and upload that to a server I have access to, but would that server be seen as a backuppc server/client?

On this computer here I have generated the id_rsa and id_rsa.pub located in /var/lib/backuppc/.ssh

looking at this part:
Test ssh connection(On server, as Linux user backuppc)
backuppc@server$ ssh root@<client machine>

How should I interpret @<client machine> should that to be ssh root@127.0.0.1 ?

View 8 Replies View Related

Debian :: Backup Server With Rsync And Ssh

Jan 18, 2016

I switched last summer from Windows (used it since Windows 95) to Debian. I'm using Debian Jessie for a couple of months now and I'm getting used a little.

There are problems here and there, but I can solved them with some reading on the web. Not really a big problem...till now

I run Debian 8.2 om my PC (PC1). Bought an older PC (PC2) that I want to use as a backup server.

I'm using PC2 only for making backups, after the backup I switch it off again.

So I installed Debian 8.2 (net-install without DE and with SSH) on PC2 and tried to configure it to let it work as my backup location. Made a public SSH key and exported it to the root account (no problem) and to the user account (sensdeb), but there was an error "Access Denied"

Gave the user (sensdeb) sudo-rights via visudo file

# User privilege specification
root ALL=(ALL:ALL) ALL
sensdeb ALL=(ALL:ALL) ALL

I installed rsync.

The problem is that Rsync only works when I use the root account.

Code: Select allrsync -r -n -t -v --progress --delete -u -l -H -s /media/Data/Mp3/Anastacia root@192.168.1.102:/test/Mp3

When I try to sync with he normal user account sensdeb

Code: Select allrsync -r -n -t -v --progress --delete -u -l -H -s /media/Data/Mp3/Anastacia sensdeb@192.168.1.102:/test/Mp3

I get error's. Access Denied

I don know how to give the user sensdeb the rights so that I can use that account for my backup tasks. Now it's possible to sync with the root account, but that should not be the way to do it, I read many times.

View 7 Replies View Related

Debian :: What Subdirectories Should Be Excluded In Backup

Jan 12, 2011

I am going to use 'rsnapshot' to create backups of my local & remote computers. My intension is that I can use these backups to restore disk images when needed -> install Linux from scratch and then copy the subdirectories from 'rsnapshot' backup to the new Linux installation.My question is what subdirectories should be excluded in the backup.

View 6 Replies View Related

Debian :: Backup To Windows Server?

Mar 15, 2011

I have a Linux server running Debian 5. I need to get it backed up. I have worked with tar in my past Unix days. I've read that there are some limitations to tar though since it is intended for tape.

My server would need to backup to a Windows server share. From ther it will be backed up to an offsite location. Can anyone make a recommendation for what to use? I would like to take a full backup weekly and then a incremental daily.

View 5 Replies View Related

Ubuntu :: Back In Time To Backup Home Directory To A Second Hdd That Is Mounted At /media/backup?

May 18, 2010

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

View 2 Replies View Related

Ubuntu :: Restore Backup Server - Where Is The Location Backup Snapshots Or Files Are Saving

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

Slackware :: Complete Backup Solution Ike 'Acronis True Image Backup And Recovery

Jun 12, 2010

I have been looking for a complete backup solution like "Acronis True Image Backup and Recovery" on Windows for Slackware a while.

View 12 Replies View Related

CentOS 5 :: Backup Script With TAR - Incremental Backup With Simple FTP To Another Location And Email Status

Jan 15, 2010

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:

file: including.txt:

View 7 Replies View Related

Ubuntu Servers :: Mysql-admin Won't Schedule Backup But Will Manual Backup

Jan 19, 2010

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

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved