Tag Info

New answers tagged

0

#!/usr/bin/env bash # List folders here that may or may not be under base path. # If folder isn't under base path we do nothing. # If it exists we back it up to S3. # S3 file is stamped to day of month. # So you have a months worth of backups. declare -a folders=( "elasticsearch" "jenkins" "some-cool-app" ) BASE_PATH="/home/ubuntu/" ...


0

If you want to backup from Linux to Linux I wouldn’t use dump, because it’s inconvenient when you need to access something inside the backup file. Just using rsync over SSH to do a full system backup should be fine in most cases: rsync -aAXv --delete-after --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* ...


1

You can use vSphere replication to replicate from one host to another. It is not only for cross-vSphere migrations. Veeam's Backup suite can do the same thing with a lot less complexity. So while the built-in vSphere replication product works, recovering from it is a bit of a pain. Veeam is very inexpensive for two hosts, so it's probably worth the ...


-1

I suggested you , Check your tables: Do it has triggers? Clear all triggers SET: AUTOCOMMIT=0, UNIQUE_CHECKS=0, FOREIGN_KEY_CHECKS=0 (AND DON'T FORGET TO ROLLBACK THIS CHANGES) USE COMMAND LINE LIKE mysql -u root -pPasss requests < mydb.sql Check your database file size Good Luck


0

Try http://www.mltek.co.uk/archivemanager.aspx. I was searching the web for the same kind of solution and I found them. Looks like they do a really cheap 'lite' version that can move the files somewhere else (using a UNC path), then even leave seamless stubs behind so it looks like the files are still there. Could be worth a shot.


0

Have a look at backuppc - Its a open source backup solution which also supports transport via rsync+ssh or samba. It takes complete care about full,incremental,differential backups, backup time management and has a nice web management interface. If you want a more advanced solution with integrated tape drive support have a look at bacula, bareos or amanda


0

It would be easiest for you to initiate the backup from the Windows host, rather than on the Ubuntu host. The easiest way to pull this off (and most similar to rsync without using some awful Windows ports) would be to use the Windows Backup Agent from RSync.net. You could then back up to the Ubuntu host with SFTP (provided by OpenSSH).


0

Is your database recovery model Full? Simple? Bulk-logged? I remember upgrading SQL Server 2008 to 2012, and my database that was simple was now set to Full. When I ran the backup, the backup was larger as well since the the Full recovery model also backs up the larger translation logs.


2

gsutil has an rsync command (introduced starting in version 4). You can use that to synchronize data from your bucket to a local disk, or to S3.


1

Assuming that you can use a lifecycle policy to delete and/or archive the old versions in a way that works for you, there's no need to give your script delete permissions at all. This approach works great for me in conjunction with the AWS CLI tools. Here's what my bucket policy looks like: { "Version": "2012-10-17", "Id": "IDHERE", ...


0

If the backed up files within BKF are neither compressed nor encrypted then it is fairly easy - well not too hard - to extract single files manually by using grep, hexedit and dd. MTF Format: http://laytongraphics.com/mtf/MTF_100a.PDF Example (assumes using bash shell): extract Outlook.pst grep -a -o -P ...


1

Yes, the blog post you linked (from 2011) appears to contain obsolete information. From the docs: If the bucket is versioning-enabled (or versioning is suspended), the Expiration action logically deletes the current version by adding a delete maker as the new current version. The NoncurrentVersionExpiration action permanently removes the noncurrent ...


0

I had to update the Azure Linux Agent as described here: https://acom-swtest-2.azurewebsites.net/en-us/documentation/articles/virtual-machines-linux-update-agent/?rnd=1 For Ubuntu: wget https://raw.githubusercontent.com/Azure/WALinuxAgent/WALinuxAgent-2.0.12/waagent chmod +x waagent sudo cp waagent /usr/sbin sudo /usr/sbin/waagent -install -verbose sudo ...


0

I just ran across an article regarding Amazon's AWS service and the very robust backup and recovery options available at the flick of a few buttons. Short of that you may want to hire out the scripting of recovery if you don't have the expertise. In the past, I've been a part of and personally written scripts that do just that. Once in place, the scripts ...


1

The scheme that is implemented in at least one commercial DBMS that I know uses two keys, let's call them the master key and the database key. The master key is used to encrypt the database key. The database key, which could be of a higher grade, is used to encrypt and decrypt the backup images. The master key can be safely rotated, because it only ...


5

Use gpg (GnuPG). You'll be able to generate multiple keys and encrypt a file for decryption with any key from chosen list. Also GPG keys are not symmetric — your server only need public keys for encryption. Private keys, used for decryption, might be securely stored somewhere else. You can for example print one private key as QRcode for your director and ...


0

Adding to the other answers (they all have valid points - bandwidth is important here, too!). A quick websearch revealt that the NAS you mentioned seems to have a Marvell 5281 CPU running at 500MHz and 128 MB of RAM. While technically rsync can handle multiple connections, I would suggest you don't try to run all the jobs at the same time, but instead leave ...


1

You can run this script, but it depends on what you're looking for in safety. -azv means archive, compress, verbose --delete-after means you're deleting anything that gets rsync'd off the source server after it reaches the destination server. 20 servers to 1 server... is doable-ish. Assume the following: 20 x 2.5GB = 50GB (total amount of data that has ...


0

Yes, because you put files on different paths on the NAS it is safe. Yes, rsync is capable of multiple connections. so that will be ok.


0

I'd start playing with PowerShell to do this: https://msdn.microsoft.com/en-us/library/azure/hh831765.aspx The the following commands looks promising (I haven't used backup yet, so test and see the results your self) Get-OBAllRecoveryPoints: Gets all available recovery points. During recovery after the authentication process is complete, a list of ...


1

Just to add one thing. Try to use bscan and you can "read" the Volumes again ( the copied ones) and import them into the Catalog of the other location. Than you can restore them in the second site also ;) thus avoiding the dependency on the first director, in case anything goes wrong. Hope it helps. Cheers Filipe


0

If you still can't get it to work, try adding: export S3_USE_SIGV4="True" to your duply profile conf file. This is described in detail here and worked for me.


0

I don't think that the C drive backup is creating snapshots on drive D - there's no sense in doing that... You can delete vss snapshots, thus regaining the space back. If the problem returns, you can delete vss storagespace, thus disabling vss for a specific volume.


1

If we have 10000 Win2012 servers (usually enterprise has), solution you proposed to buy more LTO tapes is costly. Instead I would suggest to keep ready ONE clone of a machine with latest OS+Antivirus patches. If there is a need to bring up a crashed machine, just we need to bring up OS from clone, deploy application, restore application data. OS data is ...


0

I don't know why the original command wasn't working, but in the end I figured out that changing the URL format from s3://s3-us-east-1.amazonaws.com/bucketname to s3+http://bucketname fixes the problem. The reduced working command is now: duplicity full ./logs "s3+http://bucketname" -v9


1

Your image shows quite the contrary, actually. As you can see under the RES column, tar memory consumption is quite low. You RAM usage appear to increase simply because Linux is actively caching the data read by the tar command. This, in turn, causes memory pressure and dirty page writeback (basically, the system flush its write cache to accommodate for the ...


0

Get knoppix and use dd_rescue to copy the LVM to another LVM, physical or network location. Example: **to local drive** dd if=/dev/sda1 of=/media/sda5 bs=512 count=1 **to network location** dd_rescue /dev/sda1 – | ssh root@somehost ” cat – > /some/path/filename.img UPDATE: To copy the data to another HD, first, you need to know which drive you're ...


0

It turns out, that the actual tape hardware was connected to the original server instead of the backup manager, it could not restore the backup unless I brought the original crashed server online. Thankfully I could do that, but I imagine, it could be quite problematic with other types of hadrware failures. Since I was unfamiliar with both the specific ...


0

I also just went through this too. If you compress your files into a Tar Ball, 7z's LZMA compression may or may not recognise the duplicates if they are separated too far in the Tar Ball (it's a function of Dictionary Size and a few other things). 7z has a WIM format which collects duplicates, then you can use normal LZMA compression for there. Windows ...


4

I would advise seeing whether your backup software can initiate and manage SMTape backups from your secondary site. Even if it can't, you can use it through the Netapp CLI to back up the entire volume. If your backup software supports it, you could use it to do full and incremental backups which would include all snapshots visible on the snapmirror ...


2

I have good experience backing up using duplicity. If you are able to do a snapshot and mount it read only, then it's a very good option to have consistent incremental backup. Usually the problem is with backing up databases (MongoDB, ElasticSearch, MySQL, you name it) is consistency. The same things apply to backing common files, but with databases, the ...


1

The data size has reached the point where this process takes too much disk space and the file can't be uploaded to S3 in one shot. Upload them each as their own separate files. It's probably not the case that you're doing some kind of fancy de-duplication, and if you are changing that to be reference-based would be helpful. So far backups have been ...



Top 50 recent answers are included