With wise folder backup script date
Hi allI want to take RMAN backup with date wise new folder creation scripts. e.g. today, it's 31 Oct so when I run the backup script it should create a folder name Oct. 31 and then take backup. My goal of this nice script, is that I will move daily tape backup. kindly advice.
Thank you
Krishna
Hello
I would just give you the highlights as I would:
(1) create a shell script which create directory unix with date (e.g., mkdir/somepathhere / 'date' +%Y.%m.%d__%H%M%S ")
(2) generate the script in which backup command in "xyz" will have xyz format, replaced by the path of complete directory of point 1.
Paul
Tags: Database
Similar Questions
-
I'm not sure what I did to cause Firefox do I ASSUMED a BACKUP. Since I now have a folder named 'Old data Firefox' what do I do with it? Should I restore somehow everything that is located in this folder in my Firefox browser? Or do I need at all? What I'm missing here? No explanation, no guideance, no guidance as to what to do or how to Firefox or Mozilla. I can't even say for sure IF it I MISS SOMETHING IN MY FIREFOX BROWSER WORK NOW that has BEEN REGISTERED IN THIS BACKUP orrrrrrrrrrr do not? [email protected] Lescot
If you have an 'Old Firefox Data' folder on your desktop, then you must have used the function "Reset Firefox", or help-> troubleshooting information page, as shown in the screenshot in this article, or in Firefox Safe Mode window, illustrated here.
See Firefox Refresh - reset modules and parameters for more information on this feature.
You don't need the "Old Firefox Data" folder, but you can move it to another location on your computer as a backup, if you wish. It is unlikely that you have set this folder as your current residence of profile. To find out which folder Firefox is currently using for the data in your profile, visit using Firefox-> troubleshooting information and click the Show folder. This will open the profile folder of Firefox under Windows. On Windows 7, the default Firefox profile folder would be located here (where "username" is your Windows logon user name and xxxxxxxx is a random string))
C:\Users\"username"\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxx.default
-
So I a. The MSH, with the following basic information file, where if I schedule this task, I will get a backup of data for the date file this script has been planned and in the next race, the same name of file to the backup.
I would like to be able to get this script to save the backup based on the date it has been executed and produce a new backup file based on the date of each subsequent executions.
Someone at - it something like that they would like to share with us?
echo "- INITIALIZE ROUTINE -";
echo "this script can be run every night to perform backups of data export of Essbase;
echo "Begin recording in the backup log file ';
spool to DataBackup_AllApps_Log.log;
ECHO "";
echo "- PERFORM REQUEST LOGIN -";
echo "log on to the server by using the: userid, password and server name"; "
login password admin on hyperionserver;
ECHO "";
echo '- LOG OUT ACTIVE server SESSIONS -';
echo "commands of disconnection from the current system of execution... » ;
ALTER system disconnect session force them all;
ALTER database Demo.Basic unlock all objects;
Change the system asks to kill all them.
echo 'Objects unlock complete on server';
ECHO "";
echo '- EXPORT ESSBASE DATA BACKUP -';
echo "Running export orders Database...". » ;
export data from database demo.basic Level0 to data_file 'C:/Oracle/Administration/DataBackup/DataBackup_Demo_Basic_File.txt ';
echo "Completed data backup export";
ECHO "";
echo "- TERMINATE ROUTINE -";
spool off;
"exit";
Hello
Before start using script Hari add below lines
echo off
@REM * SETTINGS *.
@call D:\back\Backup.bat
Set year = % date: ~ 10, 4%
Set day = % date: ~ 7, 2%
Set months = % date: ~ 4, 2%
define a day = %% months %% % of the year
hh = % time: ~ 0, 2%
mm = % time: ~ 3, 2%
the value of ss = % time: ~ 6, 2%
the value t = % hh % mm % ss %
essmsh %filepath%Backup.mxl % essuser % esspwd % esssvr %%%d % tm dt
Rename 'D:\back\security.txt' 'D:\back\security%d%_%t%.txt '.
Rename 'D:\back\alldata.txt' 'D:\back\alldata%d%_%t%.txt '.
Backup.bat
spool to 'D:/bck/EssbaseArchive.log ';
Set timestamp
connection $essuser $esspwd on $esssvr;
poster session;
change the system asks to kill all them.
alter system disconnect session any force;
export database $essApp. $essDB all data to the server data_file 'D:\back\alldata.txt ';
security_file export of data_file 'D:\back\security.txt ';
change the $essApp database. $essDB force archive in the folder "d:/bck/sample.arc".
change the $essApp database. end of $essDB archives;
spool off;
disconnection;
"exit";
So that it will be not any replacement of the existing backup files, remember you will have to go for some activities of housekeeping that it could consume space.
If _1, _2 files because although I mean more than 2 GB of data, then you may need to modify the script to rename all the files in the directory using a loop for.
Thank you
Amith
-
script to create the folder on the data store please
Hi all!
I'm having difficulties writing a powercli script to create a file on a data store... we have a mixture of guests ESX 3.5, 4.0 and 4.1, using data storage mounted via NFS.
For work I do, I need to:
(1) create a folder on a data store (check that the folder does not already exist).
2) navigate to the folder
(3) and check if a particular file exists in this folder.
The problem is that the context of my current position makes the code does not. the get-location method returns "C:\temp\ESX", being the record that I run the test script to. I try to use set-card with various settings to try to change the location of a particular data store, but it does not yet work-get-location returns "C:\temp\ESX".
I think that the code for step 3) above is ok, but I can't get any code to work for) 1 and 2).
can someone please?
Thank you
Ross.
You must use the vimdatastore provider to access your data warehouses.
It is documented in vSphere PowerCLI Administration Guide, which is installed on the PC where you installled PowerCLI.
You can use the 'normal' cmdlets to navigate, test and create folders.
For example:
CD vmstore:
LS # will show the upper level
CD MyDatastore\MyFolder # navigate with the alias "cd".
test-path MonAutreDossier # check the existence of a folder or file
mkdir test # create a folder
I hope this helps
-
How to connect to an Adobe Javascript(Folder Level Script) SAP Web Service and retrieve the response in a table of the Adobe Javascript/AcroJS. Could you please it explain with an example. I have two required input parameters that must be filled.
I s generic SOAP example/tutorial on my blog: get a serial number in a form using SOAP - KHKonsulting LLC
The web service uses only a single parameter, but you should be able to adapt the code to two arguments without problems.
-
Backup script no longer works in macOS Sierra
This line in a backup script used to synchronize the folder my documents with my Synology NAS:
rsync - avh - delete - progress ~/Library/"Mobile Documents" / com ~ apple ~ CloudDocs/Documents /Volumes
A ran in the Sierra, he deleted the contents of the folder/Volumes/Documents on the NAS. Nothing is copied.
The ~/Library/"Mobile Documents path" / com ~ apple ~ CloudDocs/Documents is valid in the terminal. I don't see what has changed.
Modify the script to this:
rsync - avh - delete - progress ~/Documents /Volumes
A did the trick. Do not know why. The old path seems valid in the terminal.
-
My user folder displays the data of 30 GB. Actual data are only 2 GB. I want to wipe my drive C of hidden data. How can I get the details of 30 GB of data shown in the properties of the folder.
Hello
This free program allows you to see what is taking place.
http://www.Jam-software.com/treesize_free/
Here's how to understand Treesize Screenshots:
http://www.Jam-software.com/treesize_free/screenshots.shtml
____________________________________
Also check how much space system restore uses:
http://Windows.Microsoft.com/en-us/Windows7/how-much-disk-space-does-System-Restore-require
_____________________________________
You can clean your hard drive using these two methods.
"Delete files using Disk Cleanup"
Using the free CCleaner program:
http://www.Piriform.com/CCleaner
In NO case use the registry cleaning Option in CCleaner
_____________________________________
Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:
http://www.Malwarebytes.org/products/malwarebytes_free
And Norton Backup, if you are using Norton, can do strange things with filling of hard drive space.
See you soon.
-
Oracle 12 c with RMAN database backup
Hi All-
I started back to the top of one of my PDB using utility RMAN following the instructions on the link below.
http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/12C/R1/PDB/pdb_pitr/pdb_pitr.html
--Connect to Oracle RMAN. rman> Connect target / --Set the Oracle RMAN backup device type and backup file location. rman> configure channel device type disk format '/stage/db_backup_files/cdb1/%U'; --Turn on automatic backup of control files. rman> configure controlfile autobackup on; --Back up the database and archive logs. rman>backup database plus archivelog; rman> exit
Back to the top has been done successfully, but when I started with the recovery process he gave me error reporting collection.
Run {set until what SNA = 2263440; restore database connectable to pdb2; retrieve auxiliary destination of the pluggable database pdb2 = "/ stage/db_backup_files/cdb1 '; alter connectable database to pdb2 ;} open resetlogs}
This is the track to RMAN
Recovery Manager: release 12.1.0.2.0 - Production on sat 22 Aug 12:22:44 2015
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
RMAN > Connect target /.
connected to target database: RELIABLE (DBID = 1028507357)
RMAN > run {}
2 > ALTER DATABASE connectable to MultiPlay NARROW;
3 > set up what SNA = 14899894;
4 > restore database pluggable MultiPlay;
5 > restore database pluggable MultiPlay;
6 > alter database connectable to MultiPlay open resetlogs;
{7 >}
using the control file of the target instead of recovery catalog database
Statement processed
executing command: SET until clause
From restoration to 22 August 15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 22 type of device = DISK
channel ORA_DISK_1: from the restore backup set data file
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_DISK_1: restore datafile 00035 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\SYSTEM01. DBF
channel ORA_DISK_1: restore datafile 00036 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\SYSAUX01. DBF
channel ORA_DISK_1: restore datafile 00037 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\MULTIPLAY_USERS01. DBF
channel ORA_DISK_1: backup E:\APP\RECOVERY_AREA\RELIABLE\40A433F530464F3BBF2E7C0B1553ECE8\BACKUPSET\2015_08_22\O1_MF_NNNDF_TAG20150 piece reading
822T115328_BXJ5C182_. BKP
channel ORA_DISK_1: piece handle = E:\APP\RECOVERY_AREA\RELIABLE\40A433F530464F3BBF2E7C0B1553ECE8\BACKUPSET\2015_08_22\O1_MF_NNNDF_TAG20150822T115328_BX
J5C182_. Tag BKP = TAG20150822T115328
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:01:05
Restoration finished in 22 August 15
From pick up to August 22, 15
using channel ORA_DISK_1
RMAN-05026: WARNING: following tablespaces set applies to the Point in time specified assuming
List of tablespaces should have UNDO segments
SYSTEM tablespace
Tablespace UNDOTBS1
Creation of automatic instance with SID = "zbnt."
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 22/08/2015 12:24:56
ORA-19852: error creating services for the instance auxiliary zbnt (error 0)
ORA-27302: failure occurred:
ORA-27303: additional information: could not start the instance
Thank you
Siradji
Just a wild guess
You do not use this script in a command as Administrator window
Therefore, you won't be able to create any service.
I also have a question: your only troubleshooting activity consisted of hitting CTRL + C and CTRL-V, is not it?
It's so boring to most of the people here do not even TRY to solve their own problems.
-------------
Sybrand Bakker
Senior Oracle DBA
-
Can I restore my new iPad with an old backup? I got a new mini Christmas 4
I received the new iPad mini 4 for Christmas. Went up to the back of the iPad configuration older but only available for backup option was 5 Dec because new iPad was iOS 9.0 & older had already been upgraded to 9.2.
so I set up new Ipad with the Dec 5 backup... can I now go back & restore with a more up-to-date, since both are upgraded to iOS 9.2? If so, how?
Update on the new iPad iOS 9.2 then back up to the fact that the system should be available.
-
What program do you use to backup data files?
What program do you use to backup data files?
Hello
When you post here, you should tell us what operating system you are using.
If you want to make a complete PC Backup or a backup file only, buy an external hard drive.
Only Vista professional, comprehensive and company have the opportunity to make complete backups of PC.
All editions of Vista can do backups of files.
Here's how to back up and restore your files:
"How to back up your data.
http://www.wintuts.com/how-to-backup-your-data
http://www.home-PC-help.com/windowsvistabackup.html
"How to restore your files.
http://www.wintuts.com/how-to-restore-files
This is how to do a full backup of the computer and how to restore it (for Vista Business, Ultimate and Enterprise only):
«How to make a backup of the computer in Vista»
http://www.bleepingcomputer.com/tutorials/how-to-use-Vista-complete-PC-Backup/
"How to restore a full backup of the computer.
http://www.bleepingcomputer.com/tutorials/Windows-Vista-complete-PC-Restore/
FAQ from Microsoft about backup and restore:
"Back up and restore: frequently asked questions.
http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-and-restore-frequently-asked-questions
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
This is a very good tutorial about backing up your files in Windows 7.
The end of it, there is a section for related information that covers about everything that could happen for backups.
""The backup of the user and the filesystem in Windows 7 " "
http://www.SevenForums.com/tutorials/615-backup-user-system-files.html
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Windows 8.1:
How to make a backup of files:
Open the file Explorer in the bar of > go to the file/s you want to put > right-click on > hover over send it to the mouse cursor > select external hard drive or Memory Stick that you plugged them to save.
_____________________________________________
"Set up a drive for the file history.
http://Windows.Microsoft.com/en-us/Windows-8/set-drive-file-history
"Introducing Windows 8.1: how to back up data with the file history.
http://www.7tutorials.com/introducing-Windows-8-How-backup-data-file-history
'Restore the files or folders with the help of the history file'
http://Windows.Microsoft.com/en-us/Windows-8/how-use-file-history
@@@@@@@@@@@@@@@@@@@@
Use the System Image backup
You can still use System Image backup in Windows 8/8.1.
"In Windows 8.1 System Image backup.
https://www.WinHelp.us/system-image-backup-in-Windows-8-1.html
"Tip windows 8.1: using the System Image backup.
http://winsupersite.com/Windows-8/Windows-81-tip-use-system-image-backup
'Restore a System Image in Windows 7 and 8/8.1'
https://www.WinHelp.us/restore-a-system-image-in-Windows-7.html#reimage
______________________________________________
These are very good programs to use for the backup of the computer and are free:
"EaseUS Todo Backup free"
http://www.TODO-backup.com/products/home/free-backup-software.htm
"Welcome to EaseUS Todo Backup manual"
http://www.TODO-backup.com/support/help/
http://www.TODO-backup.com/download/docs/User_Guide.PDF
______________________________________________
"AOMEI Backupper Standard."
http://www.backup-utility.com/free-backup-software.html
"Configure and automate of AOMEI Backupper in Windows"
https://www.WinHelp.us/configure-aomei-backupper-in-Windows.html
_____________________________________________
"Macrium Reflect free"
http://www.Macrium.com/reflectfree.aspx
«Macrium Reflect Tutorial»
http://www.Macrium.com/webtutorial/tutorial.asp
See you soon.
-
I have Windows Vista Home Premium (with service pack 2) and an external drive Western Digital 1 .5TB.
Hello
How to make a backup of your data
http://www.vista4beginners.com/how-to-backup-your-data
How to restore your files
http://www.vista4beginners.com/how-to-restore-files
the 1st link below is how do the backup complete pc
http://www.bleepingcomputer.com/tutorials/tutorial145.html
and that is how do to recover the backup complete pc
http://www.bleepingcomputer.com/tutorials/tutorial144.html
and here is the information of microsoft in restoring a system image backup
http://Windows.Microsoft.com/en-us/Windows-Vista/restore-your-computer-from-a-system-image-backup
If you have problems, it's in here is a forum for microsoft specifically for backup issues
http://social.technet.Microsoft.com/forums/en-us/WindowsBackup/threads
-
I need to re - installs all the software after the upgrade to windows 10 Windows 7? Should I backup my data?
Hello
without wise normal all your settings and data must be retained.
However its always recommended to make a backup of all your important files.
-
Network connection problem
Hi all
After cleanind my registry with Wise Registry Cleaner, I can not connect to the internet. Network LAN and wireless do not work. Windows 7 has diagnosed the problem and says the following:
There might be a problem with the driver for the wireless network connection card
Windows could not automatically bind the pile of IP protocol for the network card.
There might be a problem with the driver for the connection to the Local network map
Windows could not automatically bind the Protocol IP on the network card stack.
Details of detection
Diagnostic information (network card)
Network card diagnostics information:
Network adapter driver to connect to the Local network information:
Description... Broadcom NetLink (TM) Gigabit Ethernet
Reference the manufacturer... Broadcom
Provider of... Broadcom
Version... 14.0.1.0
The name of the INF file... C:\Windows\INF\oem5.inf
Date of the INF file... 14.05.2010 21:21:56
Name of the section... DEV_KEY2. NTamd64.6.1
Hardware ID... pci\ven_14e4 & dev_1692
Instance status indicators... 0x180200a
Status code from device Menager... 0
IfType......................... 6
Physical media type... 14
Similar to Wireless adapt. The problem is probably not the antivirus program, since I have only deinstaled and the problem persists. I've also uninstalled and reinstalled the drivers, but no solution again. I can't do a system restore point before cleaning the registry, because Windows could not find a file that is needed for the restore. I restored again since before saved registry cleaning but no help.
Any other ideas please. This really seems teribble :(
Thank you
Nikola
Hello
You can try all reset them TCP/IP and WINSOCK by this order from the high command prompt:
netsh winsock reset
netsh int ip reset log.txtHow to run the command prompt as administrator (high) is here:
http://Windows.Microsoft.com/en-us/Windows7/command-prompt-frequently-asked-questions
part:
How to run a command with elevated privileges?
LC
-
What is the procedure how to make my system image backup and data through Windows NAS Server?
I work the iMac with bootcamp for Windows 7 - Home Premium.
I want to return to the system image and data etc. of the 'Windows Back up and Restore' to my Synology NAS (network attached storage). When I do the setting changes, I could not find the option to connect to the NAS, but have only the offer to connect to the external hard drive.
(1) the 'Windows Back up and Restore' allows to connect to the NAS for the back of my files, in particular for the iamge system? If not, any other method to make the back upward, especially for the system image?
(2) what is the procedure how to make my system image backup and data through Windows NAS Server?
Original title: save the Windows image
Backup to a network location is not supported by Windows 7 Home Premium. Do you need Windows 7 Professional or ultimate edition.
http://Windows.Microsoft.com/en-GB/Windows7/where-should-i-save-my-backup
-
New Migration TMS with an old backup of the old server for TMS
Hi all
Since the Migration of data to the new server of TMS with the old backup of TMS old we have problems to access the MSDS server over https.
Could be the reason of this problem, the old database movement?
I checked all the Services of the Windows Server Manager 2008\ IIS and all other services, but without success.
Is perhaps a few services that I forgot? Or other things?
I thank for your feedback
Solved
HTTPS was not enabled in IIS on the server. Created a self-signed certificate and limits only the default Web page and it worked fine, locally and externally.
/ Magnus
Maybe you are looking for
-
I want to use the Vision Assistant. I have NEITHER Vision Acquisition8.5.1
I have NI Vision Acquisition 8.5.1 and a map of the video capture card. I am told that I must use the Vision Assistant to do what I necessity and that it is part of the installation. Where can I find or how to install.
-
My company has implement Office 365 and we were told the retention time of the default folders is 60 days, but we could create subfolders. Subfolders will be assigned the retention time of our archives file which is 6 months. I moved e-mails to a sub
-
a computer crash was to ga to start Please re install bejeweald 3
an accident on the computer had to come back when I buy it please help me reinstall this isn't on my progames more
-
[Iconia W4] No mode full screen connecting to TV
Hi all I just get the W4-820 Iconia tablet. When I connect the device to my old Philipps Full HD TV with micro HDMI, the TV screen is not in full screen. This is the case when I choose to duplicate display on TV but when I wish the secondary screen,
-
HP LASERJET P3015: CHANGE MY DEFAULT TRAY and the PAPER WEIGHT
MY DEFAULT PRINTER IS TRAY 1 AND I NEED TO CHANGE IT TO TRAY 2 AND THE WEIGHT OF THE PAPER IS AT LOURDES AND I NEED TO BE AT STANDARD, HOW TO MAKE THESE CHANGES?