Questions tagged [overwrite]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
20 votes
2 answers
59k views

Why is scp not overwriting my destination file?

I'm trying to back up a file via the command scp /tmp/backup.tar.gz hostname:/home/user/backup.tar.gz When I run it, the scp progress bar shows up and it looks like its transferring the file, ...
Noli's user avatar
  • 351
9 votes
5 answers
6k views

Is there a `tail -f` equivalent for when a file is overwritten (instead of appended to)?

How do continuously monitor a file that is being continuously overwritten? Specifically, the file contains a single line of text which a background process is repeatedly opening and re-writing. I ...
Daryl Spitzer's user avatar
3 votes
1 answer
120 views

mbr and boot sector overwritten with structured yet very odd data

I work for a web-hosting datacenter. One server was having issues with its RAID, and we were attempting to reboot into single-user mode to repair a read-only /tmp Upon rebooting, the server wouldn't ...
Mike H's user avatar
  • 31
3 votes
2 answers
2k views

resolv.conf overwritten *instantly*

In Scientific Linux 5.5, /etc/resolv.conf is continually overwritten and so DNS is broken. If I delete or change it, it instantly reverts to its former state. Writing over it with: cp /etc/NEWresolve....
user avatar
2 votes
2 answers
96 views

*nix behavor, when overwriting a file that's open by another process using mv

Will the other process be able to finish reading the old file even though it's been replaced?
user533020's user avatar
1 vote
3 answers
447 views

Microsoft SQL Server Management Studio

I have set up a job within MSQL studio to backup all of my databases to a specific file. Then I take that file, compress it, and send it to a backup device. I am currently hoping to make this entire ...
GMitch's user avatar
  • 500
1 vote
1 answer
684 views

www-data and server user

I have a WordPress installation on my first VPS, and ownership problem with www-data user and user I created (let's call it user1) to use for login (I disabled root login). I use user1 for FTP, but I ...
user207799's user avatar
0 votes
8 answers
12k views

Undo Overwritten File

I have just overwritten the CSS file on my site so it is now all messed up! Is there any way to go back, or undo my changes. my host is bluehost! Emailed to bluehost and they replied that they dont ...
art.mania's user avatar
  • 121
0 votes
1 answer
2k views

FTP put several directories without overwrite?

I was transferring a few dozen gigs from one PC to another with scp. I got disconnected and double checked and found FTP to be faster (I scp only affected CPU to encrypt) How do I resume my file ...
user avatar
0 votes
1 answer
31 views

"Snatching & preserving" versions of a file which gets overwritten repeatedly

On a system I'm working on, there are several processes which occasionally write a certain file (we can think about it as a sort of a log, although it's not quite that). Unfortunately, they all write ...
einpoklum's user avatar
  • 1,722
0 votes
1 answer
250 views

Backup Exec - How does it see Overwriteable media?

I have a Backup to Disk folder (on a USB Drive) which does a full backup Monday through Saturday, inclusive. It runs at 23:00 each day, but the drive is only large enough to fit 5 backups. (Each ...
PnP's user avatar
  • 1,684
0 votes
0 answers
12 views

Why restoring a partial backup is overwriting my whole Google Cloud database?

I have two projects in Firebase/Google Cloud, one for Development and another for Production (where the app is live). Steps I took I exported a specific collection from the database of my Production ...
Fernando Claros de Luna's user avatar
0 votes
1 answer
991 views

Find the latest modified *.csv file and copy it into a different folder

My goal is to copy the latest file (based on modified date) in Windows to a different folder, and then rename the file to something different. My last line that is commented out was just a test to ...
JustBeingHelpful's user avatar
0 votes
1 answer
207 views

[Fedora 14][LVM2&EXT4] Overwritten partition config

Accidentally, I deleted my '/etc' & '/bin' folder (I know, my fault). Then, I boot liveCD and tried to copy or fix this issue. And then when I can't figure nothing to fix it, I don't know why, I ...
user78428's user avatar