Prompt stringlengths 14 160 | Instruction stringlengths 18 2k | Response stringlengths 8 2k |
|---|---|---|
storing and restoring a vhd backup on azure? |
So I plan to spurn up a VM (first time) to run an application build process. It needs a computer with a heavy configuration. I plan to keep it alive until the build process is over, and, I've manually tested stuff.
Then I'd want to decommission it. But prior to that I want an image backup. Assuming here that that is ... |
0
You can click the "disks" and attach it as Data Disks. When you delete the old VM, make sure you didn't selete the VHD to also delete the VHD, once this VHD is no longer being used by any other VM, you can attach it as Dada Disks.
Hope this will help.
Share
... |
backup database using gem "backup" in rails |
I had a problem to backup database by using backup gem in rails.
this is my daily_db_backup.rb
Model.new(:daily_db_backup, 'Description for daily_db_backup') do
database SQLite do |db|
db.path = "home/ec2-user/project/db/production.sqlite3"
db.sqlitedump_utility = "/usr/bin/sqlite3"
end
... |
0
The error logs said unable to open database
"home/ec2-user/project/db/production.sqlite3": unable to open database file
Please check your production.sqlite3 path.
I think it should be "/home/ec2-user..."
Share
Follow
... |
backup database on dropbox using API |
I have used DROPBOX API to upload backup on my dropbox+php...And I'm on the half way
1)I have made local-connection and took backup file in my local
2)Then I have added key,secret(in config.json) and generated access-token(dropbox_sqlbackup.php) in proper place
Now Where I am stuck is:
I am not able to upload the gene... |
0
Finally, I found the solution....
Don't try the demo in your local system,it will not work in local,You only need to upload the code in live and test it..!!
NOTE:In local your backup file will be generated in your folder but it could not be uploaded on dropbox account
... |
What is the best way in SQL Server to take backup before the data get purged? |
My case is in SQL Server, I want to take backup of a database. The transnational data in the database is purged based on a retention period, say 90 days. The requirement is to have an archive on another server for up to 10 years, so that user can run ad-hoc queries directly on the stored data. I guess neither creating... |
0
Try this - You can setup replication from transactional "current" database to Archive database. While setting up replication, you can configure the delete activity to NOT replicate.
Share
Follow
... |
Robocopy with simple history of files backup |
do you know how can I use robocopy to make incremental copy ?
A simple example that I would like to have :
\\SOURCE : all files
\\DESTINATION\2016-01-01 : all files
\\DESTINATION\2016-01-02 : only all files modified or created from 2016-01-01
\\DESTINATION\2016-01-03 : only all files modified or created from 2016-01... |
You should be able to leverage these switches:
/MAXAGE:n : MAXimum file AGE - exclude files older than n days/date.
/MINAGE:n : MINimum file AGE - exclude files newer than n days/date.
(If n < 1900 then n = no of days, else n = YYYYMMDD date).
(More switches to tailor your solution)
So to do something historical... |
Use backup function vim to make a copy on write |
I am using set backup in my .vimrc to automatically backup files on every write. This backs up the original (old) file however, not the newly written file. Is there an elegant, preferably built-in way to backup the new file instead?
The reason I am interested in this, by the way, is that I am using gitwatch to automat... |
0
This is what I am currently using:
augroup rewrite
autocmd!
autocmd BufWrite * :w
augroup END
On every write, I write again.
This seems to work altough I am wondering why it doesn't get stuck in a loop.
Share
Follow
... |
Make .bat silent and automatic |
long story short I have a set up that takes pictures every few minutes and saves them. For backup purposes and to keep my flash drive up to date I wrote a short .bat to copy the files every hour
'@echo off
:start
XCOPY "C:\Users\name\pictures\*.bmp" "D:\backup" /q /y
TIMEOUT /t 3600 /nobreak
goto start'
`
However, i ... |
0
Ignoring the fact that this sounds like someone trying to steal pics in a way that is not above board, I think that you would probably have better luck with the Windows Task Scheduler. That way you could schedule the copy and it will happen even after the computer reboots... |
Azure Backup - How does Azure backup perform Block level incremental backups |
I understand Windows Azure Backup Agent performs incremental backups by tracking file and block level changes and only transferring the changed blocks, but my question is how does it track those changes?
The reason I ask is we are using Azure Backup as a off-site backup only, and are still planning on using our curren... |
0
Azure Backup agent leverages USN journal capability of file system to find the changed files. Ensure that latest Azure Backup agent is installed.
Share
Follow
answered Feb 15, 2016 at 9:59
... |
Postgres dump batch secondary backup directory |
I'm running this script to backup a database. It works but I would like to add a secondary backup directory to get the output file in two different directories. Any help is appreciated..)
REM Set paths and database info
set PGPASSWORD='postgre'
set PGuser='postgres'
set PGinstance='e3238s'
set PGdump='... |
0
This is quite unrelated to Postgres, and more related to how you'd output to two files in the same run.
You could use something like this, which in your case, becomes:
REM Backup
"%PGdump%" --format plain -U %PGuser% -v %PGinstance% > "%BackupDir%\%BackupName%%DateT... |
Excel VBA: Automated Excel Backup Stopped Working due to "Compile Error: Cannot find file or library" |
I have an inventory xls file, that includes a diagram of the office. When the xls is opened, the VBA automatically makes a backup of the file before any changes are made. That has worked for the past year. Today it has broken.
Yesterday, the file was working fine.
1) I added some info to the xls sheet - nothing ... |
0
My experience with Excel VBA is that the code can sometimes corrupt when opening. It used to be the case with Access as well, but I'm not sure if that was eventually fixed.
My solution was to either make backup copies after each edit, or use source control for the Exce... |
Backups: Server vs. cPanel vs. Site ... how much is too much? |
My buddy has some sites that I help out on occasionally (site dev & maint).
He has a server hosting six domains. Each domain has it's own cPanel for managing a single WordPress site and associated email (very low volume).
His "backup policy" was to just err on the side of caution and enable everything.
Backups are hap... |
0
What I would do is the following:
Create an automated process to backup the WordPress database of each WordPress site at least daily
Create an automated process to backup the wp-content folder of each WordPress site at least weekly
wp-content folder + database is a full... |
Open Batch Questions in a separate dialogue box. |
I'm trying to make a Back Up.bat file using the RoboCopy command and am having some issues.
What I need is to back up a folder on to an external hard drive, and back up the same folder on to my laptop. My only issue is that the drive letter for my Hard Drive changes sometimes, I would just go to disk management and ha... |
0
The easy way out is to make the drive letter permenent as shown in the Link.
Share
Follow
answered Jan 29, 2016 at 7:24
NizonRoxNizonRox
1431414 bronze badges
Add a comment
... |
win32_shadowcopy Unsupported shadow copy context |
The result of entering Get-WmiObject -list win32_shadowcopy).create("C:\","Backup") command into PowerShell is
ReturnValue : 5
ShadowID : {00000000-0000-0000-0000-000000000000}
However the ClientAccessible type of win32_shadowcopy is available for creation and accessible in file system after mklink /d. ... |
0
a return value of 5 means access denied. Are you running as Administrator?
Share
Follow
answered Jan 27, 2016 at 17:54
ΧpẘΧpẘ
3,42311 gold badge1414 silver badges2222 bronze badges
... |
How to gernerate *.hsh file for "contacts+message backup" app on windows phone 8 |
Microsoft hast released "contacts+message backup" for backup and restore contacts an messages. You can find the app here
https://www.microsoft.com/en-us/store/apps/contacts-message-backup/9nblgggz57gm
Now I want do gernerate my own xml file (in this case named as *.msg) to import my old sms from an android phone.
My ... |
0
Found a solution here: https://github.com/gpailler/Android2Wp_SMSConverter
There is also a pre installed version for copy paste.
Share
Follow
answered Nov 28, 2016 at 13:44
MFGSparkaMFGSp... |
Magento SYSTEM backup |
I am trying to make a SYSTEM BACKUP (not database backup), i following the ordinary way (click on the system backup button on systems/tools/backups :3 ) but after waiting for a couple of minutes nothing happens: no success message, no line added to the backup list.
|
please edit question with how many products, customers are there in database. Its depends on how much size of your folders and database, wait for atleast 2-3 hours. also check var/logs folder. or you can try scheduled back up procedure.
System > Configuration > Advanced > System > Scheduled Backup Settings
Enable Sch... |
liquibase 'generateChangelog' generates wrong schema (bad data) |
After running 'generateChangelog' on an Oracle database, the changelogFile has wrong type (or even better, simply bad value) for some fields, independently of the used driver.
More closer, some of the RAW columns are translated to STRING (it sounds okay), but values like "E01005C6842100020200000E10000000" are translat... |
0
I think more information is needed to be able to diagnose this. Ideally, if you suspect something may be a bug, you provide three things:
what steps you took (this would include the versions of things being used, relevant configuration, commands issued, etc.)
what the a... |
Using Regex to exclude all folders and files that contains "cache" in the Appdata folder from Crashplan backup |
Basically I want to exclude cache folders and files from Crashplan backups using their regex exclusions and create other exclusions based on the solution to this.
Files like these:
C:\Users\username\AppData\Local\Microsoft\Windows\Explorer\iconcache_16.db
C:\Users\username\AppData\Local\Spotify\Browser\ChromeDWriteFon... |
0
Try the following:
(?i)\/AppData\/.*?cache.*?$
Share
Follow
answered Jan 19, 2016 at 17:55
Harm van der WalHarm van der Wal
10255 bronze badges
2
Please explain why it re... |
logrotate keep old file names |
By default log rotate shifts file name's index on each rotation. I would like to keep names for old files. On each rotation: create new files + delete outdated.
Reason: every time I am rsycn those files with another sever, I have to download ALL file instead of simply downloading newly created ONE file and removing ou... |
0
This web site and its users simply s@cks! This web site dedicated to newbie questions, which later will be replied by another group of newbies who will use google search to copy&paste reply (have no clue what they are saying) or by replying irrelevant clarification posts.... |
Vbulletin ERROR 1062 (23000) at line 38766: Duplicate entry |
I have one Vbulettin Forum in RHC Opehshift Servers and I installed one module to backup automatically .
but when I want to import the SQL file to MySQL database i got this error:
ERROR 1062 (23000) at line 38832: Duplicate entry '????????' for key
'tagtext'
So I need to know why this is happened.
The strange thin... |
0
Open your .sql file in a text editor and try to find that line. Check it's tagtext and see if in .sql file there is another line with that tagtext.
Remove it and try to import again.
Share
Follow
... |
Local SQL Server Backup Exception in vb.net |
I have a local SQL Server database. Every time I want to take a backup, an exception occurs, I don't know how to handle it - please help me!
Here is my Code :
Public Function DBBackUp(DB_Address As String, Bckup_Address As String) As Boolean
Try
Dim ComStr As String = "BACKUP DATABASE [" & DB_Addr... |
0
Try to Set the connection timeout in your connection. This timeout is exceeded due to a command which needs more time to process. Please tell me if it works
Share
Follow
answered Dec 25, 2015 at... |
Retrieve SQL Server database from old Windows |
I have just changed my Windows. In the old SQL Server, I had some important databases and I want to find and copy them to new installed windows and SQL Server.
How can I find and copy old databases from old windows and copy them to new SQL Server?
P.S: Actually, my I have changed my hard disk and all of the old files... |
You can either backup the prior database or detach the database .mdf (data) and .ldf (log) file and reattach via http://blog.sqlauthority.com/2007/08/24/sql-server-2005-t-sql-script-to-attach-and-detach-database/
or
Backup your database and restore. Six of one, half dozen of the other.
-- Step 1 : Detach Database usi... |
create a data backup application/software for windows |
I wanted to make one for my project but I have no idea on how to begin. Can someone help me? This may be inappropriate but this is the only way I know to ask for help. Message me if you have idea please?
|
0
There is an archived bit on the file attributes. This is cleared if the file is modified, and you could set it when you archive a file
Share
Follow
answered Dec 19, 2015 at 8:54
mkstevemks... |
Need to Backup and Restore a database |
I need to create a script that when I execute it. It will backup a production database (keep in mind this is a live database) and restore it as development database(if exists overwrite)
I have tried this query but getting error message. I need to find a way to do this without taking the database offline or single user... |
0
I realized I do not need to keep the development online and can kill connections.
so I have used the ALTER DATABASE [ALI] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO to resolve this error
Share
Follow
... |
Batch script that save unknown(user) number of files/directory |
I'm trying to do a batch script that will do a backup of file(s)/directorie(s), which the path is given by the user. The problem is that I need to let the user decide on how many path he want to enter(can be over 10),and then after make a copy of all the files/directories in a new directories. So far I made this which... |
The technical term of the concept that allows to "store all the differents paths in differents variables" is array. The Batch file below show how to use an array in order to solve this problem. Note that it is easier for the user to give several paths until just press enter, than count in advance the number of desired... |
Sql databases get corrupt after every backup |
I have a problem with my unix server. This started a week ago. One day after a backup (I used to keep 3 backup files) I visited a website on the server but it wouldn't work. I restarted the server and it seemed to be working fine except the mysql service. My attempts to restart it failed. Then I figured that was becau... |
0
No easy answer here. My immediate thought is that the dbase is still busy when the backups commence, possibly corrupting indexes, interferring with caches, etc. Turn on full logging and check for problems when the backup starts happens. Maybe you will find something.
L... |
How to re-create a svn repo out of a tarred backup on another machine |
Sometime back, i took a tarred backup of full svn server directory.
Because at that time, in 2009, i couldn't find a good way to take a real backup.
The svn commands don't work on this as the repository url is not available on this machine.
svn log
svn: E200015: Unable to connect to a repository at URL 'http://192.168... |
0
Untar archive to some REPOS_PATH
Check the repo with svnadmin verify REPOS_PATH (and fix it in case of problems with svnadmin recover REPOS_PATH)
OPTIONAL: Upgrade the repository located at REPOS_PATH to the latest supported schema version (2009 is rather old) svnadmin u... |
Continues Cassandra restore testing |
I'd would like to set up Continues Cassandra restore testing process.
I have 6 node production cluster and I have incremental backup enabled.
I would like to restore backups on regular basis to a different server.
My question is: do I have to use 6 nodes or can I somehow restore backups from 6 nodes to a single server... |
0
You can simply copy all SSTables from the 6 nodes to a single node in order to restore them. You'll end up with redundant data depending on your replication factor, but this shouldn't be a problem if you have the required disk space.
Share
... |
How to restore the backup from gitlab omnibus to gitlab when installed from source |
I have read the documentation about backup and restore gitlab but I have problem with my existing server when I have 1 server installed gitlab omnibus and 1 server gitlab installed from source.
It's possible to restore backup files from gitlab omnibus to gitlab when I installed from source ?
Thank you.
|
0
Restoring backups is only supported for the same version as the backup was made for.
I fear the easiest solution is installing the original version, restoring the backup, then upgrading gitlab to the current version.
Share
Follow
... |
Using SoftLayer API to configure Evault Backup (configure agent, jobs, and schedule) |
I would like to automate, via the SoftLayer API, the configuration of an Evault Backup system -- configure the agent, create a job, set the file selection to backup, create the schedule. I can't find any structures that seem to contain that information to create the configuration (except for creating a schedule). Doe... |
0
What I know, with the Softlayer API you only will able to get information about the Evault, to configure the device you need to use the WebCC client.
Share
Follow
answered Nov 19, 2015 at 14:44
... |
Azure website restore error |
I am getting the following error when restoring a website backup (deployment slot). I am making the backup and trying to restore it using the azure management portal:
Failed to restore the Backup to App xxx(xxxstaging), Check your app
Custom HostNames, Databases and Connection strings. Restore operation
may fail... |
0
perhaps it is due to some breaking changes introduced by Azure in the recent updates.
From your error description, it seems like the root cause of the problem is due to the provided URI is not a SAS URL for a container.
I suggest you to take a look at the Examples of SA... |
How to replicate mysql from src host? |
Situation:
MySQL server "Src" is behind a router. So "Src" has no public address.
How could I replicate "Src" to MySQL server "Dst" who has public address.
Maybe there are some agent tools who act as a agent run on "Src" host
will read update from "Src", replicate to "Dst"
|
What do you mean by replicate?
Is that replication or backup as defined on the MySQL site?
For a replication scenario, the slave ("Dst") must be able to talk to the master ("Src") to request replication data, which is not possible in your set-up. The MySQL site states:
Each slave that connects to the master requests ... |
Is there an official spec defining the "Nandroid" backup format? If not, what was the first-ever tool which could create such backups? |
Background
If you want to write a tool which can back up an Android device, you must choose a format in which to store the backups. You can roll your own format, or you can conform to a pre-existing standard.
If you choose to conform to a pre-existing standard, there are various common backup formats you can choose f... |
I don't know of any official spec which defines the Nandroid backup format. (That doesn't mean there isn't one; it just means I don't know of one.)
But I think I know what the first-ever Nandroid backup tool was.
I've tried a Google advanced search, restricted by date. I've also tried an XDA advanced search of certa... |
Clean upgrade ubuntu server with exsiting setting and files |
I have a ubuntu 11.04 server on my machine for AMP.
I want to grade this to 14.04 manually without do-release-upgrade command.
since I don't want to get any mess.
My plan is
backup some directories to other partition. (/home /etc ...)
backup packages which I current use
clean install 14.04
restore my packages, data, ... |
1.) You can keep /home so all your settings and data is saved.
2.) Yes have used exactly same command and it worked perfectly.
sudo dpkg --set-selections < ~/packages && sudo apt-get -u dselect-upgrade
3.) As in 1.
|
Restore more than two files .bak using 1 script or query in SQL Server 2012 |
I have more backup files (.bak) and I want restore all of them in one script in SQL Server 2012. So, is there any script for doing this action?
|
0
Yes you can, you can use sp_RestoreGene
This procedure queries msdb database backup history and database file
details in master. It builds and returns RESTORE DATABASE commands as
it's result set, it does not execute the commands.
Share
... |
create a backup of database every day using Cron. [putty] |
I have this code which created a backup of my database.
pg_dump -U dbadmin -h 127.0.0.1 123telcom -f dbbackup
Now i want to create a backup every night.
Is there a way u can execute this code with crontab?
0 3 * * * pg_dump -U dbadmin -h 127.0.0.1 123telcom -f dbbackup
I'm new to putty so if anyone could help me a... |
0
I suspect that you have fallen foul of cron's PATH set up.
If you look in /etc/crontab, it will define a PATH for itself and you will probably have a different PATH set up for your login.
Create your script with the first 2 lines:
#!/bin/bash
PATH=/usr/local/sbin:/usr/loc... |
Rsync cant' copy my rdiff-backup files |
I'm using rdiff-backup for backuping my filesystem on Linux server locally. That seems OK. Then I perform remote backup with rsync to windows machine. All read/write permissions on rsync target directory are set correctly, but still a get following errors...
[2015-09-28 09:39:10] INFO Copying files to remote director... |
0
Windows does not permit colons : in file names.
You'll have to find an alternative way to mirror your backup. A tar file, perhaps?
Share
Follow
answered Oct 6, 2015 at 10:55
amsams
25.2k44... |
Storage of Split Mirror Backup in DB2 |
Can someone tell me about the storage requirement, i.e. whether a Tape is required for storing the Split Mirror Backup in DB2?
|
0
Obviously, split mirror does not require any additional storage.
Originally you have a mirrored pair of disk volumes, each storing an exact copy of the same data. After you split the mirror, you still have the same pair of disk volumes, only now they are not synchronised... |
Best way to back up Azure Blob Storage |
I would like to use Azure Blobs to store user uploaded images for a website. Upon upload the images are resized and put into folders for thumbnails, large pics and originals. These can be easily referenced from the website, so the solution works pretty well.
The problem is the backup. I understand that Azure has three... |
0
One method is to use blob snapshots. Refer to https://msdn.microsoft.com/en-us/library/azure/ee691971.aspx
Share
Follow
answered Sep 4, 2015 at 6:27
Sirius Kuttiyan - MicrosoftSirius Kutt... |
Delete/backup datebasefiles who aren't in the src folder |
In my application I use a Derby database. Works without problems, but I'd like to make something in wich I can backup the complete database.
Now when I distribute my application, the Derby makes two files in a folder who is outside my .jar: derby.log & a directory called dbApplication.
The thing that I like to do is ... |
0
I think you are asking: how do I control the location of my derby.log file and my database folder?
Both of these can be configured to be placed in a location that you prefer.
To control the derby.log location, you can set the derby.stream.error.file property: http://db.ap... |
How to use external (for bundler) util gem with rake tasks of rails project |
I'm trying to integrate backup gem (github.com/backup/backup) at rails project. Backup gem is not recommended for using in Gemfile, so I'm trying to install it by capistrano task.
And I make task in lib/rasks/backup.rake path, contained something like:
namespace :backup do
desc "Perfom Backup"
task :perform do
... |
0
The answer is:
Use bundler helper for run script in clean environment. In this case it can be done something like this:
Bundler.clean_system('backup perform -t beam_bank -c config/Backup/config.rb')
The reference to docs on this problem: http://bundler.io/v1.10/man/bund... |
How do I backup my Facebook photos and save them to Dropbox and OneDrive? |
I have lots of photos on Facebook and other photos which my friends tagged / posted on my Facebook wall. I need to back up them and save them to Dropbox and One Drive. What app or tool can help me?
|
If you have a phone, you can use FBAB to backup your facebook photos.
Android , iOS
|
Backing up proc & dev |
I've been having some trouble and managed to delete the entire /usr/share/mime directory. OK! reinstalled system, but thought backing up the root directory might be a good idea. From what I'm reading here
/proc kcore file is huge
and
A few /proc and /dev questions
I'm guessing that /dev & /proc will look after t... |
0
proc - Yes, dev - generally Yes - use can check by
mount |grep " /dev "
Share
Follow
answered Aug 19, 2015 at 21:12
rastikrastik
2,53622 gold badges1212 silver badges1414 bronze badges
... |
Linux Bash Script: Delete files in folder, but exclude specific files |
I want to create a Shell Script which shall run as a cronjob everyday before I do the backup procedure.
This shell script should delete files in a folder.
But not delete:
files for the last 7 days
files created on Sunday for the last 4 weeks
files created on first of the month for the last 6 month
How can I extend t... |
0
plan
read file details ( name and date ) to array
loop over array checking for business conditions on the date
delete the file if the flag is not set by business logic
cleanup_files.sh
#!/bin/bash
# replace with your path to files..
list_files=$(ls ./ -lt --time-styl... |
rsync- create daily backups that are deleted after 30 days? |
I am attempting to write a script in rsync to save daily backups in new directories named after the date they are created, before they are deleted 30 days after being created. The code below works, but it will quickly fill up my memory because the -u option will not see that several files in the directory structure al... |
0
I might do somethign simpler. Create a hash that only has the date's
day in it. For example, 8/11/2015 would hash to 11
Then do something like
# this number changes based on date.
hash=`date +%d`
rm -rf backup_folder/$hash
# then recreate backup_folder/$hash
Y... |
Rsync backup unable to create directories on backup server |
My script is designed to gather files and back them up across the network using ssh (because it is the only thing unblocked by the firewall) and then delete any backups that are over 30 days old. However, when the code is run I receive this error message:
receiving incremental file list rsync: mkdir
"/var/home/user... |
0
I think rsync will not writ to non existing destination directories.
You could prepend your rsync with an
ssh $BNAME@$BServ "mkdir $BackupDir/$BNAME/$DATE"
but only if the variables for mkdir are known safe. This can be a code injection if e.g. your $BackupDir is provide... |
How to make full backup of Sharepoint Online? |
Is there any way to make a full backup of Sharepoint Online web site based on Office 365 without third-party tools? Tried to google it, but found only ways to manually backup list or libraries. I'm need to save user properties, permissions, webparts, etc.
Thanks for help!
|
0
Since it is SharePoint online, you won't be able to perform a full-backup as you'd be able to do with Backup-SPSite.
However, you can save your site as a template. If your publishing feature is enabled for this site, you'll need to enable saving the website as a template... |
Restore Déjá Dup back up (on windows) |
I have a back up of user folders from an Ubuntu 15.04 System.
The back up was done via the system settings control, which as i understand uses Déjà Dup as the standard back up program.
The back up is now on a flash drive, it's files look like this:
duplicity-full.vol01.difftar.gz
...
duplicity-full.vol87.difftar.gz
... |
(from personal experience)
Requirement: the partition/drive (c) containing the backup, 2 extra drives (a + b)
1) Create a Drive (a) that boots Ubuntu, e.g. a live-usb drive.
(see: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows)
2) Boot the Ubuntu system, next format the second extra drive (b) to ... |
send file to google drive or other online store from my server |
I am using a shared host. No root access. I want to transfer files between the host and any online storage. The target is to take online backup and restore files from storage to host directly without download/upload. Kindly suggest me some way.
|
0
Mover.io is an online service that helps you easily transfer files and folders from one cloud storage service to another. The service works on a freemium model – you can transfer up to 10 GB of data for free and then pay $1 per extra GB of transfer.
Mover has connectors... |
Heroku Postgres backup frozen - button just displaying "Capturing", never finishes |
Heroku Postgres backup frozen - button just displaying "Capturing", never finishes.
|
0
I have faced this issue myself. Run heroku pg:backups --app sushi to see status of backup. I don't remember it correctly but deleting the running backup helps I guess.
https://devcenter.heroku.com/articles/heroku-postgres-backups#checking-backup-status
Share
... |
Not able to get backup of SVN repository |
I want to have svn directory backup in local system and import in AndroidStudio
So I am using this command :
svnadmin hotcopy ~/svn_directory ~/Desktop/
This is giving error :
svnadmin: E000002: Can't open file '/home/kushalgandhi/svn_directory/format': No such file or directory
I checked in svn_directory but there... |
svn export ~/svn_directory ~/Desktop/
This command creates a clean copy of SVN code in ~/Desktop/ directory. Clean copy means the output do not have svn controlling files (like Green mark or Red mark )
Thank you
|
oVirt Snapshot Backups to Export Domain |
I'm looking for a way to perform VM backups for my oVirt 3.5 environment. I came across a couple of scripts like this one: http://www.clevernetsystems.com/virtual-machines-backup-script-rhev-3/ but they shutdown each VM before the backup. It also seems like they perform a clone which isn't ideal.
I'd like to avoid dow... |
0
This script works nicely: https://github.com/wefixit-AT/oVirtBackup
In general, you can use the API to snapshot VM;clone snapshot to export domain; delete snapshot, and the export domain will contain a backup you can copy or use elsewhere. To restore, attache the export d... |
How should I backup MongoDB on DigitalOcean? |
I have a MongoDB (3.0.4) instance running on a DigitalOcean node (as a Docker container with a persistent data volume), how should I ensure that its data gets backed up regularly?
|
I solved this by using MongoDB's Cloud Manager, which has a backup service.
|
bakcup files using rsync without copying files which decreased in size |
I have a directory in my server which contains some media files. Files will be add to the directory time to time, but after a file added to this directory it won't change ever. I want to backup this directory using rsync. The problem is in a hard failure some of these files' size became zero and my rsync command copie... |
0
You could use find to clean up all the files with size zero
cd /path/to/dir;find -size 0b | xargs rm -rf
then rerun rsync
Test this command on a subset of files to verify before running it on your real data
Share
Follow
... |
How to find wifi password in user binary without rooting the device |
I am working on an app that would take backup of the phone to be restored in another phone. I am stuck in wifi password backing up part. I would like to know if there is an way to find wifi password from a non rooted device. If I query wifi manager I would get * and not the password. Is there any work around to get th... |
0
this can help you to get wifi password easily but you have to install linux for that http://www.arhixe.com/?p=530
Share
Follow
answered Jul 6, 2015 at 14:34
Shevy VistaShevy Vista
311 silv... |
Back Up for Wordpress |
Need some advice from anybody who knows.We have a client website that is wordpress ecommerce and it is huge. too big for backup buddy. to back up. To do so manually takes virtually a day. what else is available to do good Scheduled backups for ecommerce sites, so people don't lose the info if it gets hacked etc.. or k... |
Updraft Pus can be used for backups and migrations. Files are compressed and stored on the server for quick recovery and also can be downloaded or uploaded to remote storage. Allows you to choose what to backup too, plugins, uploads, database, themes. Has a scheduled backup feature too.
Not sure if it will work for y... |
Backup entire disk in Ubuntu |
I would like to make a backup of the entire HDD disk.
Step-by-step what I'am trying to do:
1) Check storage capacity (that is going to be backupped):
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 455G 157G 275G 37% /
2) Mount extra, empty hdd to /mnt/backup/
/dev/sdb 294G 63M 279... |
0
Thanks to Mark Setchell to show me the correct direction.
Finally the solution to create dump of the whole partition without spaces is:
dump -0a -z1 -f /mnt/hdd1/dev-sda1.dump.gz /dev/sda1
For 157 G partition of Ubuntu 14.04 + development files + database files "dump" ta... |
which file to back up in Cpanel account? |
Please I had some issues with the party hosting my website, when i contacted another party they requested me to transfer my site to a folder "backup" in the root of my account so that they can see if they can deploy it or not. Which files should I put in this folder they said? please I need an answer it is very ugrent... |
Login your cPanel and create new backup of your account so that you will get your all files with the latest content to your new host.
You can generate backup with the following steps.
Login your cPanel >> Backup >> Download a full website backup >> and click on "Generate Backup"
Above steps will create the backup file... |
Stored procedure taking Backup of data files stored on a linked server |
I have a stored procedure which will be taking backups of data files stored on linked servers on the same linked server. The linked server name is retrieved from a table for each company. So the linked server name is saved in a variable.
So in my stored procedure, I run the following backup Database command:
SET @Sql=... |
0
Compound that @Sql variable with another one which stores Exec AT command like this:
declare @ServerName varchar(20), @Sql varchar(max),@datafileID varchar(100),@FullPath varchar(150),
@cmd varchar(max)
set @ServerName = 'YourLinkedServerName'
set @datafileID = 'YourDa... |
Syncing Vagrant VMs across different physical servers |
I'm using Vagrant to deploy my VMs and my current setup looks like this:
server1 = VM1, VM2, VM3 ( main production server )
server2 = VM1, VM2, VM3 ( backup server )
My questions is, can I somehow sync the VMs across the different physical servers in case one fails so I can keep running the VMs on the second one with... |
Vagrant doesn't inherently support this, since it's intended audience is really development environments. It seems like you're looking for something more like what VMWare vSphere does.
|
how to backup of specific tables from database sql server and save .bak file in computer using vb.net code |
I want to backup some specific data of SQL database by using vb.net code. In fact i want to save this file as .BAK file and then i want to restore it.
I couldn't find anything. all the solutions in the web was about full backup of database and there was not any method to backup some tables via code.
|
SQL Server does not permit backing up a single table. Full stop. No provision is made for this whatsoever.
It does permit restoring a single table from a complete backup, but this does not seem to be what you want.
|
How to autobackup Visual Studio Projects? |
Is there a Add-In or a non default setting to automaticly backup your source files in Visual Studio?
I ask this, because my PC crashed into a BSOD whilst stopping debugging of a Project which used the Ping class. (Bug was reported 4 years ago to ms...) And my main file was filled with nuls (as n++ showed).
So I looked... |
0
I would recommend using some sort of hosted source control for backing up your work, something like like GitHub or Visual Studio Online.
Share
Follow
answered Jun 19, 2015 at 9:09
Adam Drew... |
Creating Backup and Restore where the Executable path in vb.net |
it seems i have some difficulty here some of the questions in google is quite not suited for my problem.
my backup code:
mb.ExportToFile(" '" & Application.ExecutablePath & "'\backup.sql")
my restore code:
mb.ImportFromFile(" '" & Application.ExecutablePath & "'\backup.sql")
i want that my back up is always wher... |
The .ExecutablePath method returns the executable name also ... you need to use this one:
mb.ExportToFile(System.IO.Path.GetDirectoryName(Application.ExecutablePath) & "\backup.sql")
|
Cassandra restore from incremental backup files from multilple nodes |
I am also looking for incremental/point-in-time backup / restore solution.
I have three Cassandra nodes,I enabled incremental backup , and i tried copy one day's SSTable files from backups folder on one node to a new cassandra cluster /data folder, then it works, but i have three node, and the name on all three node a... |
0
One simple solution is to config new cluster with exact same node, and everything can work.
But if i want to replay the data with less nodes, like only one, so i have to take a complete snapshot ?
Share
Follow
... |
Backup strategy for build tool hosted on Azure VM |
We are hosting TeamCity (Continunos Integration) and Atlassian Jira and Confluence tools in the same Azure VM with Linux Ubuntu (LTS 14.04) as OS.
As all the tools reside on the same VM, would a periodic VM backup be the best approach to backup them? Or rather implement a tool specific approach would be better? As exa... |
0
VM snapshot is easy to manage and easy to restore, but you have the risk of losing whole data in case of corruption. Take a periodic backup of all your applications from Azure to local infrastructure but keep a snapshot for quick recovery.
Share
... |
Need to create a simple script for ftp login |
I am planning to make a simple script for logging on to a switch & take the configuration backup!
I used to login manually & want to do this in a single command or through a script!
Anyone could help me out?
root@xxx:/home# ftp xxx.19.254.61
Connected to xxx.19.254.61.
220 xx-xx-xx-xxx-SW-2 FTP version 1.0 ready at Sa... |
0
Is heredoc not good for you?
$ ftp xxx.19.254.61 <<< EOF
get config config.cfg
bye
EOF
Share
Follow
answered Jun 8, 2015 at 6:55
anishsaneanishsane
20.6k55 gold badges4141 silver badges75... |
Keep x versions of a file in Folder - delete rest |
I have backup process that makes a copy of files and appending system time at the end. Date stamp indicates when the file was received via FTP (ddMMYYYYhhmmss).
fileName1.ZIP02062015090653
fileName1.ZIP01062015090653
fileName1.ZIP31052015090653
fileName1.ZIP29052015090653
fileName1.ZIP28052015090653
fileName1.ZIP21052... |
Try this:
gci C:\temp\ -Recurse |
where{-not $_.PsIsContainer} |
Group-Object basename |
foreach {
$_.Group |
sort CreationTime -Descending |
Select -Skip 5 |
foreach { Remove-Item $_.fullname -Force -WhatIf }
}
That will group the files by the basename, then sort/delete within each group.
Remove the -Wha... |
backup & restore remote Informix database |
I am trying to take backup of informix database from my client server and restore into my local informix server but I did not get success.
I used dbexport and dbimport utility but i did not found any parameter to give remote machine ip(like in MySQL -h xxx,xx,xx).
I also took backup of remote database using RazorSQL t... |
0
Using DB-Export and DB-Import is probably not the best way to do backups. And they don't provide a direct mechanism to write to a remote file system.
You should look at ON-Tape or ON-BAR if you need remote backups. They also provide advantages such as backing up the ent... |
How to backup SVN repository from a server to linux machine using linux commands |
I was trying to take the backup of svn from my linux server to local linux machine.
I am able to take the backup in server using svnadmin dump.
What should i do if I have to make the destination as one of the folder in my local machine.
|
0
You can make the backup on the server (in a temporary location) and (s)cp it over to your local machine.
Share
Follow
edited May 28, 2015 at 8:59
answered May 27, 2015 at 21:44
... |
Is it possible to backup live SQL data files with SpiderOak |
This is a hypothetical question.
We have a couple of smaller (less than 3GB) SQL Server databases. What could go wrong if the data and log files were added to SpiderOak backup while keeping the database running?
Would it make a difference if the backup frequency was not real-time but for example every XX minutes?
The ... |
0
Third party backup software needs to use the SQL Server VDI API(https://technet.microsoft.com/en-us/library/ms175536.aspx) in order to backup SQL Server files while the database is running. Unless the backup software is uses the necessary APIs, you may end up with databa... |
Unable to Sync to S3 with s3cmd |
After setting up s3cmd and my S3 bucket, when I try this command
sudo s3cmd sync --recursive --preserve /srv s3://MyS3Bucket
I get this error:
ERROR: S3 error: 400 (InvalidRequest): The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
My s3cmd version is 1.0.0 which is install... |
0
These days, it is recommended to use the AWS Command-Line Interface (CLI), which also provides a sync capability.
Share
Follow
answered May 24, 2015 at 4:11
John RotensteinJohn Rotenstein... |
Capture Output of dscl Command for Backup Script |
I am currently managing a fleet of Macs that are being recycled so we need to figure out a way to automate a onetime backup of a user's folder (excluding any superfluous accounts like Shared or root) on the system to a network share using rsync.
I would like to capture the output of the result of each user using the ... |
Something like the following should do the trick, if I understand you correctly.
for name in $(dscl /Local/Default -list /Users UniqueID | awk '$2 >= 500 { print $1; }')
do
cp -r /Users/$name /Volumes/Backup/$name-$(date +%d.%m.%y)
done
I assume you used \ to split directories by accident, don't you? Additionally... |
Does Flash save automated backups? |
Does Adobe Flash save the project automatically in a backup file somewhere? Or do I have to do the entire thing again (not the whole project but what got lost 2+hours)?
If I'm right, even Word creates backups over time.
If flash creates backups, I shouldn't overwrite it by opening the file again and remaking what I ... |
0
No, it doesn't. You may want to backup your projects manually from now on. You may upload them on some online storage device as GoogleDrive or simply copy them on some other physical location.
Share
Follow
... |
Linux backup script "file changed as we read it" |
I have been having a fiddle with a backup script posted on
Github
The script uses tar. The files I wish to be backed up include folders/files that are being written/read continously. I wish for the script to take a backup anyway of the "image" of the file at the time of the script running and passing over the point.... |
If disk space is not an issue, you may want to create a copy using rsync first, e.g.:
rsync -a --exclude="$BACKUP_DIR" \
"$BACKUP_DIR/backup.incoming/$TARGET_DIR" \
"$BACKUP_DIR/backup.rsync"
After that, running tar against the rsync copy should not trigger similar error. By default rsync would just adding fi... |
How do I download files from Google Drive to my server in parallel? |
I want to download files from a Google Drive account to a server for backup purposes. The account holds about 40GB of files, which are mostly not owned by the user (so Google Takeout won't work).
I'd like to download the files in parallel to speed up the process.
|
0
You can use the Google Drive Linux client, which is conveniently called drive. It's under development, but works pretty well.
It's got some dependencies (seemingly Go 1.2+), which can be hard to satisfy in a server environment. But it's possible to install.
$ drive init
$... |
how to make sure the backup data is the same as the data on local machine in linux? |
A backup from my git repository is taken on a server. I dont know how the backup script was written and I need to check if it is taking backups correctly or not. So I have to compare the backup data on that server with the data in my local machine.
can I take a copy from the backups on my local machine and then compar... |
0
If it's a live Git server, you may find that the diff changes after the backup is made. More importantly, you may find that the data being backed up changes before the backup is finished, giving you an internally inconsistent and eventually unusable backup.
If the server ... |
How to copy connected mdf database file (SQL Server Express) |
I am using SQL Server 2008 R2 Express with Dataset tables (drag and drop tables from database into dataset window) all connected to my c# application via table adapter components from toolbox that means I have no SQL connection codes into my form and I do not attached anything into SQL by code.
When I try to create a ... |
0
sqllocaldb.exe stop v11.0
sqllocaldb.exe delete v11.0
Share
Follow
edited Aug 26, 2015 at 3:56
Henrique Barcelos
7,77011 gold badge4343 silver badges6767 bronze badges
answered Au... |
Taking Backup of MySQL database using Java [closed] |
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
... |
User below code to take MySQL dump backup using Java
public static void main(String[] args) {
try {
File dir = new File("/root/");
Runtime runtime = Runtime.getRuntime();
Process p = runtime.exec("mysqldump database_name >/path-for-backpfile/database.sql", null, dir);
... |
Taking a backup of Pentaho |
How to take a backup of Pentaho BA server related files? What are the necessary DBs needed to take a backup of?
Answer is provided below.
|
The necessary steps are mentioned below.
1) Login to the Pentaho installed server with a user who has necessary permission to OS related files.
2) Stop BA server.
3) Take a complete database backup of the quartz, hibernate, and jackrabbit databases. If you’re using Postgresql, use the command‐line tool pg_dump in... |
How to back up MySQL databases to SQL files? [duplicate] |
This question already has answers here:
Run MySQLDump without Locking Tables
(14 answers)
Closed 8 years ago.
I'm having significant server issues at the moment, and am worried the... |
0
You can use mysqldump utility with --all-databases switch to dump entire databases like below
mysqldump -u root -p --all-databases > TotalBackup.sql
But above command will dump everything in a single file. Found This blog which has a nice solution to it. A script to do... |
Plesk 12 MYSQL database 1,8GB BACKUP need |
Can anyone give me instructions about export mysql database?
I always export database, but its size always will be 576MB, don't know why. It seems at phpmyadmin this
database size is 1,8 GB.
I have Ubuntu 14.04 linux server at vps.
|
Log into mysq through the terminal:
mysqladmin -u root -p
Then use mysqldump to create a backup of your database as follows:
//Single database backup
mysqldump database_name > database_name.sql
//Multiple databases
mysqldump --databases database_name1 database_name2 > two_databases.sql
//Backup all your databases
... |
how to sync my database with drupal cms database periodically |
Hi I am new to Drupal7 cms so my question might be stupid but want to clarify here. My requirement is i have to develop a web application which uses
the database of drupal cms by making replica of the drupal cms database periodically(every halfanahour).So by making the copy of drupal cms database
i want write my ow... |
0
I recommend using database replication in a master/slave setup if you have separate database servers. This way your database is constantly updated and you can write your web app to run off the slave never having to worry about the validity of the database data. If your da... |
How do I filter directories with powershell on the amount of files contained |
I am having issues finding the correct syntax I need to filter my results on only listing directories with a file count of above a specified amount (600 in my case).
This is my code so far;
$server_dir= "D:\backup"
$export_dir= "C:\support\spcount.txt"
if($server_dir)
{
$folders = Get-ChildItem $server_dir
... |
I think I found the issue. It's that Format-List statement at the end of your object creation statement. It pipes the newly created object through Format-List, and thus transforms it into something else.
$obj = New-Object psobject -Property @{FolderName = $fname; FileCount = $fcount} | Format-List
So if you remove th... |
cPanel backup schedule for blocks of sites at different times on different days |
How can I schedule cPanel to backup blocks of websites and store the backups on dropbox at different times during the week. My server is backing up everything all at once then sending them offsite. The problem is the server runs out of disk space because so much data is being backed up at one time. It would be best t... |
It's not possible to do it with the cPanel backup system. If you have root access of your server then You will have to setup some custom backup scripts with the rsync commands.
|
Write to unmounted usb from terminal |
Here is the problem:
My hard drive bugged I got a load of io errors and my elementary os won't load, I can only load it in read-only console mode.
Question 1 how do I copy important files to a usb drive if I can't mount it? Or how do I restart system in a readwrite mode
Question 2 how do I check hard drive for bugs a... |
0
Your best bet is to take the drive and install it as an extra drive in a working system, mount and "repair" the filesystem there, then copy everything to a new drive or USB stick.
You don't want to be actively using the disk when it's in a bad state. The general operatio... |
Automatically backup work project git or hg on commit |
When I commit some changes by git or mercurial, I would like to automatically backup (or do similar changes) in another place (backup directory for this project.)
Is it possible?
|
0
I found solution. In folder .hg I created myhook.sh file and I changed hgrc.
I have done in this way:
.hg/hgrc:
[hooks]
commit =/fullPathToMyHook/myhook.sh
myhook.sh:
hg pull /pathToMyBackUpProject
hg merge
hg update
hg push /pathToMyBackUpProject
Now, then I write ... |
SQL Server : restore from backup but keep ID (identity) references |
I have the following scenario. Let's say I have 3 tables:
IDs are integers and primary key with identity(1,1).
Clients (ID (pk), Name)
Orders (ID (pk), ClientID (fk), Date)
OrderDetails (ID (pk), OrderID (fk), Product, Quantity, Price)
Let's say I accidentally deleted all records from those 3 tables, but I have a DB... |
0
If it were me, I'd:
Determine which rows are in your backup that aren't in your live database
Insert the rows from your backup into your live database with a value of -1 * identity value. For instance, if the row was in the backup with a identity value of 1234, you'd ins... |
how to list up all directory and files (include sub directory) without access right? |
I bought a new file server.
I want to copy all file and directories.
I tried this.
cmd
robocopy d:\ \\10.226.0.12\full_backup\ /R:3 /E /ZB /COPYALL /LOG:backup_log.txt
Then, we have to compare file and directories, for find missing copy file.
I tried this.
cmd
tree d:\ /F > out.txt
But, administrator can't access a... |
0
there is the problem with administrators group can not access any file and folders.
How to solve this.
take ownership.
bat
takeown /F D:\ /A /R /D Y
list up files. (thx for this command. JosefZ)
bat
dir /B /S /A /O:NE d:\*.*
In other words, you don't turn off administ... |
How to set up / use git as (little more than) a simple backup system |
I'm a single developer working on several small, unrelated projects written in C/C++.
I tried using git (mostly because a client asked me to - I think he doesn't know what a DVCS is but must have heard that git is fashionable :) ) but I was baffled by the documentation, and the tutorials all seemed tailored for needs ... |
Chapter 2. In less than 1 hour you have all working.
|
Magento backup wont work |
i have a problem with taking magento backup (both system, database and db + media backup). When taking backup everything seems to be working, but when finished the backup does not appear on the backup site or Var/backup.
First i tought the problem was memory limit since the webshop is big, but increasing the memory li... |
i had the same problem with my magento shop. The the reason was a combination of to low memory limit and execution time.
So i suggest you to do the following:
max_execution_time = 360;
memory_limit = 512M
Also set max_allowed_packet to 500M in my.ini/my.cnf fil under[mysqld] .
Regards, S.T
|
Why does SQL Server need long time on stored procedures when i copy tables with (NOLOCK) |
I have two big tables in my database and for tests i have copied the tables (select * from online_table to backup_table with (NOLOCK) ) to the same DB with postfix _backup.
On the backup-tables i start a conversion of a nvarchar(50) column to datetime format. After them i set up primary key and some indexes.
Before i... |
0
This may be due to the caching in memory. SQL server uses ram to cache the stored procedure. so once the stored proc is cached, it should be back to normal. Brent explains caching of stored proc nicely, http://www.brentozar.com/archive/2013/12/how-to-cache-stored-procedur... |
SQL Express: Backup job to auto increment date/time? |
Trying to create a backup job to auto increment the backup file name on this script but getting this on syntax.
Idea is to setup a job that runs every x amount of hours and take a backup of the DB on the same location. Filename has to be incremented or the job will fail (and yes I've tried doing this from the msdn su... |
as Date use varchar variable for name
declare @Date as varchar(20)
set @Date = CAST( getdate() AS DATE);
declare @Name varchar(40) = 'Backup to TESTDB at'+@Date+'.BAK'
BACKUP DATABASE 'TESTDB'TO DISK = 'D:\TEST\TESTDB.Bak'
-- use NOFORMAT for Add Backup
WITH NOFORMAT,
MEDIANAME = 'TESTDB',
NAME =@name;
go
s... |
Windows Server Backup and Microsoft Azure Backup |
Since Azure agent doesn't support full VM image backups directly through the portal (without shutting down the VM first), I wanted to schedule a regular bare metal backup of my Azure VMs using Windows Server Backup together with the Azure Backup agent.
The challenge is to find a temporary place to store the files cre... |
0
As of now if you want to schedule a regular bare metal backup of Azure VMs, you can use the Temporary drive to store the files created by WSB if the OS disk size is less than Temporary drive(D:). Else, you have to attach a additional Data disk for backup purpose.
I agr... |
Windows Server 2008 R2 backup does not start as scheduled with no error messages |
I have been trying to configure regular automated backups to a shared network drive using the Windows Server Backup console. When I backup manually, it works, however it does not run on its own as scheduled. I have made sure to enable run backup while not logged in. There are no error messages when it does not run acc... |
0
I’m going to assume that you’re running it with heightened privileges and for running the task you’re using a Domain Admin account, I would suggest running the command manually from command line and add in this argument “get status > \task.log”
Share
... |
SVN revision corrupted |
My SVN revision 22026 is corrupted. I have verified by using svnadmin verify command. I manually verified the 22026 file in db\revprops and in \db\revs folder. 22026 file is empty in revprops folder but content is available in revs folder. It looks like revision 22026 property file is corrupted or empty.
I have used R... |
You can try 2 things:
Dump you repo and load it again ignoring properties:
svnadmin dump REPOS_PATH > full.dump
svnadmin load --bypass-prop-validation NEW_REPOS_PATH < full.dump
If above doesn't work, exclude your problematic revision, as described in this SO answer:
$ svnadmin dump -r1:22025 my_repos > dumpfile.dum... |
Can I restore data from copied backup set in Oracle? |
I have copy of backup set (level 0 and level 1 incremental backups) from Oracle 11g running on Linux.
Can I restore data from this set on other machine which running Windows without connection to source database?
|
Seems to be no. There is no way to restore rman backupset from Linux to Windows directly.
|
monitoring the backup |
Does anyone know any related work about:
1- Monitoring the backup done by HP Data Protector using Nagios or Icinga
2- Monitoring the backup done by HP Data Protector by any other monitoring tool
3- Monitoring the backup in general
|
0
I think a good approach (generic) to monitor a (generic) backup is by doing several combined checks, assuming "backup" is a single file or directory:
Be sure the file is present in remote disk (by parsing filename, and using a regexp, for example).
Be sure the last one i... |
How do I back up my Linux system |
I am using Yocto distribution of Linux. And currently, I am looking to back-up my system following the guide:
http://ubuntuforums.org/showthread.php?t=35087
The part I am having trouble with is that
and go to the root of your filesystem (we use this in our example, but
you can go anywhere you want your backup to e... |
If you want to backup to your own harddrive, then it needs at least 50% free space.
Typically people do not backup all their binaries, but rather their data (the data that is in the /home directories)
sudo mkdir /homeBackups
sudo cp -a /home /homeBackups/.
sudo tar -cvf homeBackups.tar .
sudo gzip homeBackups.tar
Then... |
Batch / Script for a scheduled Backup |
Apologies on my poor knowledge of this subject, not very familiar with this but here goes.
I'm looking to create a script that will backup a file, and place it into a folder named with the current date, however i only require a backup if the file has been modified, as duplicates of the same file are not required.
I ha... |
if you can live with xcopy instead of robocopy, see xcopy /? and take a look to the /moption.
Whenever a file is changed, the archive flag is set. xcopy /m ... copies only files that have the archive flag set and unset it for the sourcefile, so another xcopy /m ... would ignore the file, because the archive-bit keeps... |
Running tar in a bash script returns "Output with bankrupt according to previous errors" |
Please don't say me that there is duplicate post (i know that it is a common problem) but i would to knows my errors and learn from it
The question is why this script is not working for me? I would like to find what i made wrong
OS Centos 6
Problem : i need to tar and send some files located in this dir
/home/teampor... |
You're mixing end of line for windows and unix in your script
If you look at it using od -x myScript.sh, you'll see a mix of characters 0a and 0d for end of line.
Make sure you fix it correctly (e.g. using vi ) and your script should work
|
PostgreSQL Unique Index Error |
I'm busy writing a script to restore a database backup and I've run into something strange.
I have a table.sql file which only contains create table structures like
create table ugroups
(
ug_code char(10) not null ,
ug_desc char(60) not null
);
I have a second data.csv file which only contains delimiter d... |
0
There are two rows in your column ug_code with the data "transfers " and that's why it can't create the index.
Why it would succeed if you create the index first, I don't know. But I would suspect that the second time it tries to insert "transfers " into database, it just... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.