To delete, or not to delete, backup logs
I have several .gz files in userlibrary/Logs/Backup/Events. None is huge, but overall they're taking up space. Are these archives for the information backed up in Backup? Or are they just historical logs that I can delete? Thanks.
Chances are these logs get created and rolled as you do your backup jobs.
Unless they're taking up an extraordinary amount of space...oh, say more than 1% or 2% of your total drive space..? I'd say just ignore them and go do something more fun with your mac than chasing down log files.
According to some TV ad I saw the other day, these macs can even play music? Can you believe that?
<big smile>
Similar Messages
-
Recovery window retention policy deletes archive logs before a backup?
Hi All,
Oracle 11G on Windows 2008 R2
This afternoon, I changed my RMAN retention policy from 'RETENTION POLICY REDUNDANCY 3' to RETENTION POLICY RECOVERY WINDOW OF 3 DAYS'
However, i checked tonight and after my daily backup ran, all the archive logs prior to the backup had been deleted! Thus meaning i dont think i can restore to any point in time, prior to my daily backup. All the .arc logs were there after the backup. So i tried another test and kicked off the daily backup again. During the backup process, the archive logs got deleted again! Now i don't have any archive logs..
Is this proper behaviour of RETENTION POLICY RECOVERY WINDOW?? I thought it would keep all the files needed for me to restore to any point in time for the previous 3 days. When i used REDUNDANCY, with my daily backups, it kept 3 days worth of backups+ archive logs so i could restore point-in-time to any point. How can i use RECOVERY WINDOW so that i can actually restore to any point-in-time for the 3 days??
I wanted to change to RECOVERY WINDOW since i read that by using REDUNDANCY it only keeps X copies of a backup (so if i ran the backup 3 times in a day, i would only have those 3).
Thanks in advance.Hi All,
Here is the SHOW ALL output:
RMAN> show all;
RMAN configuration parameters for database with db_unique_name MMSPRD7 are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOA
D TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'D:\ORACLE\DATABASE\ORA11G\DATABASE\SNCFM
MSPRD7.ORA'; # default
Here is the RMAN script:
Recovery Manager: Release 11.2.0.3.0 - Production on Mon Jan 20 23:03:12 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: XXX (DBID=)
RMAN> CROSSCHECK ARCHIVELOG ALL;
2> CROSSCHECK BACKUPSET;
3> CROSSCHECK BACKUP;
4> CROSSCHECK COPY;
5> DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;
6> DELETE NOPROMPT EXPIRED BACKUPSET;
7> DELETE NOPROMPT OBSOLETE;
8> BACKUP CURRENT CONTROLFILE;
9> BACKUP AS COMPRESSED BACKUPSET DATABASE PLUS ARCHIVELOG DELETE INPUT;
Also, not sure if you needed the whole RMAN output, but here is the deletion part:
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 3 days
using channel ORA_DISK_1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Backup Set 1392 15-JAN-14
Backup Piece 1392 15-JAN-14 F:\ORAFRA\MMSPRD7\BACKUPSET\2014_01_15\O1_MF_NNNDF_TAG20140115T190054_9FG89R8N_.BKP
Backup Set 1393 15-JAN-14
Backup Piece 1393 15-JAN-14 F:\ORAFRA\MMSPRD7\BACKUPSET\2014_01_15\O1_MF_ANNNN_TAG20140115T192204_9FG9KDHX_.BKP
Backup Set 1397 16-JAN-14
Backup Piece 1397 16-JAN-14 F:\ORAFRA\MMSPRD7\BACKUPSET\2014_01_16\O1_MF_ANNNN_TAG20140116T190027_9FJWNW6L_.BKP
Backup Set 1400 17-JAN-14
Backup Piece 1400 17-JAN-14 F:\ORAFRA\MMSPRD7\BACKUPSET\2014_01_17\O1_MF_ANNNN_TAG20140117T190138_9FMK349M_.BKP
deleted backup piece
backup piece handle=F:\ORAFRA\MMSPRD7\BACKUPSET\2014_01_15\O1_MF_NNNDF_TAG20140115T190054_9FG89R8N_.BKP RECID=1392 STAMP=836938856
deleted backup piece
backup piece handle=F:\ORAFRA\MMSPRD7\BACKUPSET\2014_01_15\O1_MF_ANNNN_TAG20140115T192204_9FG9KDHX_.BKP RECID=1393 STAMP=836940124
deleted backup piece
backup piece handle=F:\ORAFRA\MMSPRD7\BACKUPSET\2014_01_16\O1_MF_ANNNN_TAG20140116T190027_9FJWNW6L_.BKP RECID=1397 STAMP=837025228
deleted backup piece
backup piece handle=F:\ORAFRA\MMSPRD7\BACKUPSET\2014_01_17\O1_MF_ANNNN_TAG20140117T190138_9FMK349M_.BKP RECID=1400 STAMP=837111700
Deleted 4 objects -
I have deleted hundreds of pictures, I've deleted apps, deleted emails and texts, and I've turned off and deleted backups of apps on icloud and it is still telling me that there is not enough icloud storage available for my phone to be backed up. I am supposed to do this before I go to the Apple store today to get my phone fixed. Can someone please help me? I have done almost everything.
This article explains ways to reduce your iCloud storage: Managing your iCloud storage. In addition to what's mentioned in the article, if you have lots of photos and videos attached to your text messages, these are all included in your iCloud backup and deleting them can sometimes significantly reduce the size of your backup.
If worse comes to worse, back up your phone to your computer rather than iCloud. To do this, connect it to your computer, open iTunes and go to File>Devices>Back Up and to File>Devices>Transfer Purchases. This can be used to restore your data when you get your phone back. (In fact, it's faster because you don't have to download the data from iCloud.) -
I have an iMac purchased in May 2011. OSX Lion 10.7.3. I deleted backup file from the external hard drive which operates from Time Machine.
Now, the trash can will not empty some of the files deleted from the backup harddrive.
The trash contains-- File folder: "Core Services" which contains a locked file: "boot.efi".
It will not delete.
How do I get the trash can empty of these files?Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think? -
What would happen if I turn off my backup and delete backup data From my device? Will it delete my music and everything for ever or just stay in the cloud but not on my device?
If you have multiple devices backing up to the Cloud, you will see all of them listed. You would click on each device to change what is backed up from that device. You can then delete your individual back-ups.
Once you have all your settings to your liking, you can then go back to Settings>iCloud>Storage & Backup, and click on Back Up Now (bottom of the screen) to create a fresh backup with your new settings.
Cheers,
GB -
WbAdmin Delete Backup command not supported in 8.1 Pro x64
Hello
I've searched for how to delete specific backups that I've created using the elevated Power Shell command "wbAdmin start backup -backupTarget:E: -include:C: -allCritical -quiet" but I've run into a roadblock.
The problem is that none
of the "wbadmin delete xxx" commands are actually supported in Win8.1 Pro 64-bit (6.3, Build 9600). If I type "wbadmin delete /?", I get:
---- Commands Supported ----
DELETE CATALOG -- Deletes the backup catalog.
DELETE SYSTEMSTATEBACKUP -- Deletes one or more system state backups.
DELETE BACKUP -- Deletes one or more backups.
However, when I try to use ANY delete command (for example, to delete a specific backup version that was identified using "Wbadmin get versions"), I get this error:
PS C:\WINDOWS\system32> wbadmin delete backup -version:06/26/2014-07:29
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2013 Microsoft Corporation. All rights reserved.
Warning: The DELETE BACKUP command is not supported in this version of Windows.
The operation ended before completion.
The same thing happens if I use -deleteOldest, with or without the -backupTarget switch.
Does anyone know why the Delete command is not available on 8.1? Is there a patch, workaround or alternate method of deleting specific backup images?Yolanda, thank you for confirming the issue and for pointing me to a solution. I really appreciate it!
I have looked at the cmdlet reference page tried to use the commands but it appears that they do not work on my system. For example:
PS C:\WINDOWS\system32> remove-wbcatalog
remove-wbcatalog : The term 'remove-wbcatalog' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ remove-wbcatalog
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (remove-wbcatalog:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Also, if I type the help command listed on the reference page, get-help -module windowsserverbackup, the only reponse is a blank command prompt. Do I need to install the windowsserverbackup functionality separately? It does not seem
to be built-in. -
When i look at how much hard drive space i have available, my mac says i have 250 gigs used up in backup. I can not find this backup file to delete it and free up the space
OmniDiskSweeper is a free utility that checks HD space.
FreeSpace cost $1 or is a free utility that checks HD space.
SpaceControl is a free utility that checks HD space. -
I'm having some difficulty with Time Machine. It appears to be deleting backups from random dates on my external hard drive. I am not deleting them. Are they hidden and how do I prevent this from happening? Can I retrieve them?
... I didn't know that Time Machine was more a last resort back up instead of main back up.
Don't rely upon Time Machine to the exclusion of all else. I compliment Time Machine with a periodic "clone". TM is much better than nothing, but it's a safety net, not a hammock
Here is my understanding of Time Machine's file deletion algorithm, distilled from Pondini's FAQ, Apple's KB articles, and my own observations.
Time Machine deletes ("thins") files from the backup disk as follows:
Hourly backups over 24 hours old, except the first backup of the day
Daily backups over 30 days old, except the first backup of the week
Older backups get deleted when Time Machine requires space and you deleted them from the source disk.
Therefore, assuming TM has been performing at least one backup per day, backup files will remain available:
at least thirty days, if they existed on your Mac for at least a day
until you run out of space, if they existed on your Mac for at least a week
In addition to the above, Time Machine always keeps one complete copy of your source disk so that the entire volume could be restored if necessary. Any files that remain on your source volume will be present on the TM backup, no matter how old they are.
If you are using 250 GB of space on your source disk, its Time Machine backups are likely to require at least twice that much. A good estimate of the minimum required backup volume size would be about three times the size of your source disk - 1.5 TB in your case.
A more thorough explanation would require Pondini since he has plumbed Time Machine's mysteries far more than I have.
http://support.apple.com/kb/HT1427 -
GRC:AC:SPM: How to ensure SAP_ALL in not deleting FF log files?
Hi Guys,
Due to some critical business requirements occuring occasionally, I wanted to set up a FF ID having SAP_ALL. This would be besides the other FF IDs, which I have already created for each of the modules. I.e basically this SAP_ALL FFID would be to handle emengency and cross module tasks.
Now, I have a limitation here that this FFID having SAP_ALL profile may do anything and then even clear all the logs for what all it did (as it would have unlimited access to even delete the logs for FFID usage). Any workaround solution for this?
Regards.
Hersh.
http://www.linkedin.com/in/hersh13Zaheer is exactly correct. The main point of SAP_ALL is to be (almost) unrestricted and that is why it is recommended to not assign it.
Although Firefighter allows you to gain elevated access in a controlled manner, if you just assign firefighter ID's SAP_ALL then you will be allowing that access in the systems effectively, invalidating any controls which you had there previously.
There are loads of ways of trimming SAP_ALL but I would generate a role based on the SAP_ALL template and de-activate the key authorisations (GRCFF_0001).
Simon -
iPad1 can not install software 4.3.2 update - message - due to corrupt backup - but when I go to delete backup there is no backup in the device section of itunes under preferences
The problem was cured by going to <user>/Library/Application Support/MobileSync/Backup and moving the files from that folder to desktop and the ipad backed up and the software installed
-
I accidentally deleted some files from iCloud, how do I recover the files if I do not have other backup or in time machine
You don't.
-
Is RMAN only way to take backup and delete Archive Logs?
On primary db:
===============
OS: Windows 2003 server 32-bit
Oracle: Oracle 10g (10.2.0.1.0) R2 32-bit
On Physical standby db:
===============
OS: Windows 2003 server 32-bit
Oracle: Oracle 10g (10.2.0.1.0) R2 32-bit
Data Guard just configured. Archive Logs are properly being shipped to standby db. Is RMAN only way to take backup and delete Archive Logs from both primary and standby db? What other command can be used?
ThanksNo, but anything else is way more work. Without using RMAN you would have to find another way to keep track of applied logs.
RMAN make this very simple :
RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;Using another method would be like using the handle of your screwdriver as a hammer.
See "RMAN Recipes for Oracle Database 11g" ISBN 978-1-5959-851-1
Best Regards
mseberg -
Keep archived logs but deleting backup of db
Hey
I'm running a backup script every night that issues a "backup database plus archivelog" and saves the backup to disk. Due to disk space limitations I have to delete the obsolete backup taken the night before. However the "delete obsolete" also deletes the archived logs on disk. Is there a way to delete the obsolete backup but still keep the logs on disk?
Tried the "delete backup of database completed before 'sysdate-1' but I cant seem to get passed the promting for deletion - it has to run automatically.
Thanks for any advice..Why don't you work with retention and than you delete the obsolete?
delete backup of database will remove the full backup of the database (datafiles, archivelog, spfile). You can create a script to delete the backup of a given list of datafiles.
RMAN> report obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 2
Report of obsolete backups and copies
Type Key Completion Time Filename/Handle
Archive Log 540 26-MAY-05 /db/ARON/fs1/archived_for_logminer/1_1.dbf
Archive Log 541 26-MAY-05 /db/ARON/fs1/archived_for_logminer/1_2.dbf
RMAN> configure retention policy to redundancy 1;
old RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
new RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
RMAN> report obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Report of obsolete backups and copies
Type Key Completion Time Filename/Handle
Backup Set 3125 22-JUL-05
Backup Piece 3127 22-JUL-05 /db/ARON/BACKUP/RMAN/backup_ARON_564316052_208_1_6ggq5hsk_1_1.bck
Backup Set 3126 22-JUL-05
Backup Piece 3128 22-JUL-05 /db/ARON/BACKUP/RMAN/backup_ARON_564316052_207_1_6fgq5hsk_1_1.bck
Backup Set 3139 22-JUL-05
Backup Piece 3140 22-JUL-05 /db/ARON/BACKUP/RMAN/backup_ARON_564316097_209_1_6hgq5hu1_1_1.bck
Backup Set 3190 24-OCT-05
Backup Piece 3193 24-OCT-05 /db/ARON/BACKUP/RMAN/backup_ARON_572546170_212_1_6kh20n3q_1_1.bck
Backup Set 3191 24-OCT-05
Backup Piece 3194 24-OCT-05 /db/ARON/BACKUP/RMAN/backup_ARON_572546170_213_1_6lh20n3q_1_1.bck
Backup Set 3192 24-OCT-05
Backup Piece 3195 24-OCT-05 /db/ARON/BACKUP/RMAN/backup_ARON_572546180_214_1_6mh20n44_1_1.bck
Archive Log 540 26-MAY-05 /db/ARON/fs1/archived_for_logminer/1_1.dbf
Archive Log 541 26-MAY-05 /db/ARON/fs1/archived_for_logminer/1_2.dbfBye, Aron -
computer crashed as backing up iphone to computer ( windows 7 ). got grief message: could not back up the iphone. backup corrupt. not compatible w iPhone. Delete Backup for this iphone. Where is the back up file located. cannot find file
The following has a section titled "How to delete a backup in iTunes" (it also gives the backup location but you won't need that): iTunes: About iOS backups
-
Can not delet call log of my nokia x3
Plis give me idea how delet call log of my nokia x3
Press green call key scroll to logs delete.
If i have helped at all a click on the white star below would be nice thanks.
Now using the Lumia 1520
Maybe you are looking for
-
SBS Server 2003 and Exchange Server - need to access but only have HDD
Hi, I have been redirected here from a Microsoft Community Forum. I am reasonably conversant with windows systems but am not a computer professional, just trying to see if I can solve a problem without spending a great deal of cash at this stage as o
-
Wanted to Edit "Create Web Photo Album" template
I'm using MX2004. I've recently done a major, major overhaul on a website I manage. We use the "Create Web Photo Album" (not an extension - the one that came with DW) extensively, but with the new design, the basic photo album template isn't going to
-
Nokia 2700 Classsic Picture SMS Problem
Hi I'm using Nokia 2700 Classic. I've a problem with Picture SMS. When I receive a Picture SMS and I wanna forward it as Picture SMS the cell phone make this sms as MMS and I can't send it as SMS. And my service provider charges for MMS. While in Pic
-
Isit possible to change the default save as file type settings?
Hi, I would like to set the default "save" and "save as" file type to "PDF /A" instead of the default "PDF" due to compatibility issue with some of our systems. Can this be done? So when a user click on the save button at the top it auto save as "PDF
-
When will the iphone 4 ?
**Hi all** **when will the iphone 4 to saudi arabia ??** **iphone 4 was severely delayed** **And increases the price on the black market up to 1600 dollars** **Claiming the flight of the customer to the competitive products** * Will the device in the