Development backup and version control questions
Two question I want to ask as an Oracle XE beginner:
1.How to backup my work (database objects and application pages) each day?
2.What is the best practice for version control for the Oracle XE development projects? Does anyone use CVS?
Thank you.
Two question I want to ask as an Oracle XE beginner:
1.How to backup my work (database objects and
application pages) each day?Take a look at the backup script in the product directory.
C.
Similar Messages
-
Report Builder RDF, XML, REP and Version Control
I'm looking to convert our existing RDF reports to XML format to better support version control and have a few questions.
- Are there any issues with converting these RDF files to XML and developing them going forward?
- When it's time to deploy to the server we'll convert them to RDF or REP. Any issues?
- This question was asked before, [Thread: Oracle Reports Builder - RDF vs XML|https://forums.oracle.com/forums/thread.jspa?threadID=721959], but that was over 3 years ago. Have the issues been resolved?
- Is anyone currently following the workflow I've outlined with success?
Couple of links of interest regarding this topic.
[Tuning Oracle Reports - 20.5.1 Paper Layout|http://download.oracle.com/docs/html/B14048_02/pbr_tune.htm#i1007252]
[Running Report Requests - 13.3 Deploying Your Reports|http://download.oracle.com/docs/html/B14048_02/pbr_run.htm#i1008764]
My Oracle Report Builder Version Info (Help -> About)
Report Builder 10.1.2.0.2
ORACLE Server Release 10.1.0.4.2
Oracle Procedure Builder 10.1.2.0.2
Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
Oracle CORE 10.1.0.4.0 Production
Oracle Tools Integration Services 10.1.2.0.2
Oracle Tools Common Area 10.1.2.0.2
Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
Resource Object Store 10.1.2.0.2
Oracle Help 10.1.2.0.2
Oracle Sqlmgr 10.1.2.0.2
Oracle Query Builder 10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle ZRC 10.1.2.0.2
Oracle XML Developers Kit 10.1.0.4.2 - Production
Oracle Virtual Graphics System 10.1.2.0.2
Oracle Image 10.1.2.0.2
Oracle Multimedia Widget 10.1.2.0.2
Oracle Tools GUI Utilities 10.1.2.0.2
Edited by: 896352 on Nov 9, 2011 2:35 PMHi Michael,
Per my understanding that you want to find a solution for version control when you design the report using the Report Builder 3.0, right?
As you know that Report Builder is a tool which can only work on one single file instead of a project , so the current version of Report Builder doesn't have these capabilities. You can submit a feature request about it on the Microsoft UserVoice site
here:
http://visualstudio.uservoice.com/forums/121579-visual-studio/category/53187-sql-bi-tools-srs-ssis-ssas-
Generally, visual Studio Team System and Visual Source Safe integrate with the Visual Studio/BIDS shell and third-party source control solutions like SVN managed from the file system play well with version control. So I would suggest you to consider use
them instead.
In conclusion, one possible workaround for you is that you can save all .rdl files in third part tool’s(TFS) workspace folder for version control purpose (check in, check out with the Windows Shell Extension), and you can use Report Builder to edit these
report files. Then use Report Builder to deploy the .rdl file to Report Server.
More details information about the version control for your reference:
https://sqlserverbiblog.wordpress.com/tag/ssrs-version-control/
Similar thread for your reference:
https://social.msdn.microsoft.com/Forums/en-US/939b3a90-067d-4593-b456-76533c9d60ce/sync-ssrs-visual-studio-project-with-ssrs-server-alm?forum=sqlreportingservices
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/1ad0db30-7fd8-4007-9731-ec8f2f44605f/report-format-rdl-version-control?forum=sqlreportingservices
If you still have any question, please feel free to ask.
Regards
Vicky Liu -
Here are some discussion points for use of Raptor with version control.
Assumptions/Terminology.
Roles:
Developer, Tester, Production DBA.
Each developer has their own database or schema to work with.
Database code is PL/SQL and DDL
Client code is everything else including sql scripts.
VC stands for generic version control. I may slip into CVS speak, but ideally this is product neutral.
Scenario 1: New developer on existing project.
1 Check out sources
Obviously need to define a VC repository connection in Raptor
Probably also need to define filesystem directory to check out to. Conceivably raptor could do this under the covers but if the source code is a mixture of database code and client code this isn't possible.
2 Run sources against database to create schema objects
This would probably be a manual job within raptor but a nice feature would be a tool to work out the dependencies and run everything in the right order.
3 Edit-save-compile-edit objects in the database
At this stage the database code is out of sync with the filesystem and the VC. Since the definitive version is in VC the filesystem is irrelevant so it would make sense to save the object back to the filesystem when you click the save/compile button.
If VC isn't active this is obviously a bad idea since the filesystem version is the backup.
4 Create new object in database.
The new object needs to be immediately saved to the filesystem and added to VC(but not committed). The create dialog should ask for a filename as well as object name.
5 Commit changes to VC
What gets committed? All the database code in the schema of the current connection? All the database code which is known to CVS (which should include new ones created at step 4)? What about client code? Is there a need for a project to which objects can be added manually or automatically.
There may be clashes between this developer's changes and anothers.
Need to be able to compare current database with current cvs and merge in changes before commiting. The merged changes need to be immediately applied to the database.
6 Whoops forgot something, edit object on filesystem but don't check in.
7 Next day, try to edit same object in the database.
We now have a 3-way discrepancy between vc, filesystem and database. Raptor needs to allow diff/merge between database and filesystem as well as between database and VC.
Scenario 2: New Project
1 Developer creates some database code
edit-save-compile is entirely within the database at this stage and no VC is involved. At some point the developer has to define a vc repository and directory. Raptor needs to be able to create a new repository or module (cvs import for example) either at this stage or the first time code is saved.
There could be an option to make VC compulsory so that whenever a developer creates an object, the relevant VC actions are taken.
2 This scenario merges into scenario 1.
Scenario 3: Tester begins new testing cycle
Scenario 4: DBA implements new code in production database.
1 User checks out latest code from CVS
2 User runs code against database to create schema objects.
This is very straight forward. I am not even sure that this should involve raptor, it should all be done by scripts in sqlplus. The one raptor involvement could be reconcilation of the objects in the test database with the VC repository.
A few other thoughts.
I haven't thought about multi-schema development, ie making changes to more than one schema at a time. Should a VC repository be associated with a particular connection?
I haven't thought about managing 'create table' vs 'alter table'. A tool which generated an alter table from the different between db and vc or between 2 vc revisions would be useful.
All checkout/export/diff actions should be against labels/tags/branches as well as the tip.
Filenames and formats.
There should be preferences to allow the user to specify file extensions and other naming conventions (eg upper/lower case). I use the following for ddl files
table_name.tbl -- create table
table_name.con -- constraints for table
table_name.idx -- indexes for table
view_name.vue
sequence_name.seq
Table DDL
Currently table ddl as generated from raptor includes storage details. Not all of this is relevant in the development process and could cause spurious differences in version control.
I also like my constrains in a separate file from the table ddl.
PL/SQL Templates
The ability to define basic package and procedure templates with VC keywords etc in place. New | Procedure etc would use these templates
Message was edited by:
smitjbThanks for the detailed use cases. We can use this message to track Version control feature requests.
We do want to provide this support in future releases.
Donal -
Application size in terms of pages and performance and Version Control
Currently I'm looking into the best way to version control our APEX applications. From other threads, it seems it's an area that leaves much to be desired. We are on the verge distributing a large APEX project commercially but I cannot find a suitable versioning method to support bug fixes and new development happening at the same time to the same set of applications. I just hope everyone out there realises versioning is a vital area of the development process and VOTES for it in the V3 poll.
Anyway, enough of the my whinging. I did have a brain wave (quite rare !). What would the drawback be to have only 1 or 2 pages per application. This would allow a developer to always import the application at the start of work (ie from versioning software such as VSS or PVCS) and then export it at the end back into say PVCS. The application has everything self contained and correct versions etc.
This would allow more developers to work on different areas at the same time as opposed to having many pages in the one application where developers could step on each others toes etc. I've considered importing/exporting pages but the fact you cannot lock shared objects means there is a possibility that if many developers are working on the same application someone will change something that affects pages other than their own. It would also be a nightmare to tie up different versions of of pages, shared objects, applications etc. Would there a performance problem with this method ? Incidentally, why can't TABS be shared/subscribed across applications. It means they have to be created separately in each application whereas things like Nav Bars and Templates can be shared across applications.
Currently, my thoughts are that: bug fixing for a production release has to be in a separate stream (apex installation) from say new development work for the same set of applications BUT what this means is that the bug fixes have also to be manually applied in the new development stream - which is a considerable overhead (ie twice the work).
Thanks for hearing me out - assuming you survived to the end !
Any encouraging comments would be appreciated !Wim,
I don't entirely understand the behavior. There should be little/no difference between the two cases. I'm assuming you have no indexes, which isn't recommended for such large containers anyway. Can you make your document set available to me so I can see if I can reproduce the behavior and look at it more closely? A single container, or dbxml_dump of a container is sufficient (both compress well).
Contact me directly at george dot feinberg at you know where.
George -
Application Express and Version Control
We are using Clear Case for our versioning. We are looking at Application Express for our simple screens(rest is in java/struts). Our only concern with application express is integrating it into our current version control methods.
How much effort is involved in exporting the schemas and checking them into clear case?
also, we will have multiple people developing html db forms. How complicated does this integration get?Hi User....
My team uses Microsoft Source Safe for version APEX control.
We export the Application as well and the schema DDL to text files and then check them into SourceSafe. We carefully label the check-ins with appropriate version numbers. The version numbers are also added to Page 0 so we know what version we are running. This work reasonably well in APEX 2.0. I believe that it will be even easier in APEX 2.2.
If you have multiple developers working on a single APEX application, create a special user ID that is used for only locking pages. This trick prevents your developers from making accidental changes to a perfectly debugged page. The locking ID is under the control of the project manager or the team lead. It is also handy for controlling the check-in-out process for individual pages or groups of pages.
I hope this helps.
Cheers,
Patrick Cimolini -
Version Control question related to Visual SourceSafe.
I have a RoboHELP HTML (RH) project that is set up for
version control with Visual Source Safe (VSS). Now I need to create
a copy of this project and set up version control for it as well. I
tried copying the RH files and adding the copy to VSS. But when I
open the XPJ file from the copied folder, it still has references
to the version controlled original folder.
There are a lot of files in the copied folder that has
references to the original VSS location. How do I make this copied
project a self-containing version-controlled project with no
references to the original?
Thanks,
KHi Rick:
Tried the link to the aricle on RobWizard. It works sort-of,
however, I noticed that two files (eHlpDhtm.js and gg_sdk.pss) not
mentioned in that article have references to the old version
control information. What are these two files used for?
So far, it's working fine for me, but not for my colleagues
who are accessing this copied project. They all have gotten the
latest files from VSS on their machine. But the Getting Files
dialog box seems to be getting files from the old version control
location as well. Now my colleagues do not have modify privileges
to this old location at all. So when they try to edit a topic in
the new copy in the new version control location, RH gives an error
that says they don't have access rights to the old version control
location. Why should this happen since the copy of the project is
supposed to now only be aware of the new version control location.
Also, RH also says that is cannot check out the XPJ file from the
new version control location since exculsive privilege is required.
This is weird since the XPJ file is not checked out at all.
Any thoughts? Would the two files (eHlpDhtm.js and
gg_sdk.pss) mentioned in the first paragraph be cuasing this? Those
two files are the only ones in the copied project that have
information about the old version control location.
Thanks,
K -
Hi everyone,
Can somebody please tell me how to create a copy of a project
that can be opened, edited, etc. without affecting the project we
have in Visual SourceSafe? We are trying to create printed
documentation from our CHM files, and rather than playing around
with our working project, we want to test a copy first. I copied
the project in Explorer, opened it and got a dialog box regarding
SourceSafe options. We went to File -> Remove from Version
Control, and that removed the working project from SourceSafe.
All I want is a copy of the project to play around with until
we get it to look like we want, and then make the changes in the
working project.I'm having version control woes as well. I'm working with a
CHM project that I created with RH6 and had under Visual Source
Safe control, then reopened today (after a year) with RH 7. Of
course it took FOREVER to check out and convert to RH 7 and RH
crashed in the middle during the conversion so I had to reopen,
recheck out files, etc. Ever since, I've been running into a lot of
odd things, like files that it won't check in because (according to
VSS), they are currently checked out twice, files that remain
checked out in VSS even after I do a "Check In All" from RoboHelp,
graphics that I've added to topics that aren't getting added to the
project OR VSS, and while they appear in Preview, don't appear in
compiled output. Suffice it to say: There are definite "issues"
going on between RH and VSS.
I'm considering removing the entire project from source
control (from within RH, of course), then going into VSS and doing
an "Undo Checkout" for all the files that RH is not checking in for
some reason, then deleting all project files in VSS (with "Destroy
Permanently" but keep local copy settings), and then REadding the
project to VSS from within RH.
Does this sound like a reasonable approach? I don't need to
keep any history on these files because they have not been
published yet. But I do need to get on with this project and I
think perhaps because of the RoboHelp upgrade to 7, that I need to
somehow get a fresh start in source control...?
Advice appreciated!
kc -
> Why can't we just have a text-based project file (and one that isn't touched every time you open the tools!) which holds all of the various tools settings, and pointers to the source tree (which should ALWAYS be separate from the build tools project directory) and the constraint files (which should be considered source files)?
Amen, brother!bassman,
If I had to ridicule all the tools that I use that don't adequately support relative paths I would never get to do any engineering! :) Although to be fair, in the last few years things have improved significantly for most of the other tools that i use.
My comment about the absolute vs. relative paths was more of a issue when I was trying to keep the project files under version control. At the time it seemed like if I had source files outside of the project folder the tools used a absolute path which resulted in portability issues. This has all been resolved for the most part with this hybrid tcl project mentioned earlier in the thread. I do keep the source files outside of the actual generated Vivado project folder. There is still the issue of where to keep ip, but for the time being I am just keeping that within a project. In an ideal world this could all be kept in a single repository shared across all projects..., but in the past we always seemed to run into issues when we try to do this. However, it is something that we will probably revisit sometime soon, especially with how ip is managed with Vivado.
So far this approach seems to work pretty well but is definitely still a work in progress. Below is the readme.txt that I created and keep in my project folder that describes how I am currently managing projects with Vivado (which is pretty much the same as described earlier in this thread).
Project folder structure:
<_top_level_project_folder>
<src> folder containing all hdl and constraint files/folders. (keep under svn)
<ip> folder containing all ip used in this project. (keep under svn)
Note: some of these may be projects that MAY also follow this directory structure.
<proj> vivado project folder generated by running mk_proj.tcl (NOT under svn)
<sdk> folder for sdk export (hw folder + more as needed under svn)
mk_prj.tcl Tcl script to create a project in <proj> subfolder. (keep under svn)
mk_bd.tcl Tcl script to create new bd within project. (keep under svn)
Instructions for creating project from scratch:
1) start vivado_tcl console and change into project_folder directory
2) delete <proj> folder contents (make a cleanup script for this someday)
3) run >source mk_proj.tcl
4) go to <proj> folder and open newly created project
(Note: you may need to make sure project is targeting the correct part!)
5) at tcl console in project run:
>source mk_bd.tcl
6) regenerate output products for bd design
7) create wrapper for bd design (this should be something instantiated by HDL already in the design)
Instructions for updating the tcl files:
1) inside project run the following
>write_project_tcl mk_prj_new.tcl
2) best to compare this to the previous tcl and modify as necessary.
The bd related stuff should probably be removed from the tcl script?
3) run the following:
>write_bd_tcl mk_bd_new.tcl
4) this file should be ok to just overwrite the existing mk_bd.tcl file
5) do a quick check to make sure project can be regenerated from scratch
Other Stuff:
It is useful to add a shortcut to the vivado tcl shell in the project folder.
Also, change the properties so that the shell starts in this folder.
-
RoboHelp6 and Version Control on TFS - How to add, delete or rename folders
When under Version Control what is the proper method of renaming a file or folder? What is the proper method of deleting or adding a folder under Version Control?
Bob (No relation to John)With RSC, I'd recommend performing these procedures from RH. I don't know if you get that same tight coupling with TFS, though.
G -
Backup and Data Migration Questions????
Sorry for the multiple post, posted to fast and placed in wrong post....
But anyway... I am considering getting the Droid X (Android 2.1) and I will be changing over from a Imagio (WM 6.5) and since I am new to the whole Android OS, I was wondering what is the best way to transfer all my data from the Imagio to the Droid X once I recieve it? I have looked at a application (Sprite Migration) that seems to make the migration process rather simple that can be found at http://www.spritesoftware.com/products/migrate/how -does-it-work- but I was wondering if anyone has used this application and how well did it work?
Second I was also looking at the Sprite Backup application also for my system backups of device, I used the Windows Mobile version before ojn my Imagio and it worked well but I decided to stay with SPB Backup because I was already use to the program since I have used it for a number of years....
Is Sprite Migration and Sprite Backup a quality product to use on a Android device because I want to backup the stock image into a file before I start modifing my device and learning the ins and outs of the unit.
Any feedback would be appreciatedHi Wildman,
Yes you are correct, Sprite Backup offers a much more complete backup.
We backup everything that can be done without root access.
We are also now on many handsets in ROM, with even more access. We hope to see more manufacturers, (4 so far, but not Motorola yet) bundle us on their devices (approx 1.2 million devices with us in on Android).
If you already have moved to your new Droid then it's probably too late. However, Migration is a great solution for moving your data painlessly across to the android device.
I appreciate you used SPB, a fine product on Windows Mobile. I am sure you are aware of our 18 million Windows mobile sales of Sprite Backup (the other camp , the majority are actually bundled on devices there also)
We have a strong support staff, so if you have any questions please fire them off to us.
http://spritesoftware.crmdesk.com/
To give you an idea of what Android Backup covers, please read this
http://www.spritesoftware.com/getmedia/0e592ab4-61bb-4f6d-a218-b6df82669a18/Android-Backup-v2.0-User-Guide.aspx
Migration is soon coming out as an OTA service, for a carrier or two
As you have pointed out, contacts sync (like for winmo active sync) is great, but there is a lot more on a device.
Many thanks
Julian@Sprite -
Rman backup and recovery architecture question.
Hi
Oracle : 11.2.0.2.0
OS : Redhat Linux.
We currently have RMAN implemented with scirpts taking backups for each database.These run through cron jobs on nightly schedule.
I am tasked with the automation of the recovery process , that will happen maybe every quarterly to check if we can recover effetively from the backups.( don't ask why).
My questions are
1) Should I be using OEM to do RMAN recovery instead of my scripts. What are the cons of doing it this way.
2) I have around 20 databases. My thought is to seetup Grid Control, and effectively setup the backups there provided answer to question 1 is yes.
3) Is there a way to automate the recovery using Grid control.
4) Should I be doing it differently and if so what? What is the standard practice?
Thanks in advance for your help.Hi,
My suggestion is scripting.
You can find some recovery methods.
http://taliphakanozturken.wordpress.com/2011/05/26/rman-data-recovery-methods/
Talip Hakan Ozturk
http://taliphakanozturken.wordpress.com/ -
Backup and DVD Burning Questions
I know Aperture uses "Vault" to store your "master" files. Does Aperture have an easy way of puting a copy of the vault on my computer internal HD and on an External HD?
Also does Aperture have an easy way to back up your vault to DVD?
Thanks TaylorHi Talyor,
I know Aperture uses "Vault" to store your "master"
files.
True, but more. It stores your "masters" and the adjustments to recreate the "versions," but without the thumbnails which get recreated when required during recovery.
Does Aperture have an easy way of puting a
copy of the vault on my computer internal HD and on
an External HD?
First, the assumption is that your Aperture Library is on your internal drive for speed. That means Vault is assumed to be on an external drive so that you have a secure backup if you lose your internal HDD or suffer file level corruption.
Next, both the Aperture Library and the Vault can be path'ed to drives/folders at your discretion, so yes, Vault could be on your internal drive and the AP Library on an external drive. Set the Library location via Preferences. Vault path gets set at the point in time when you create it.
Last, there is nothing built in to AP to "copy" a Vault to another drive. You could use Finder or Automator Folder actions to do this, or 3rd party file cloning/sync'ing utilities.
Also does Aperture have an easy way to back up your
vault to DVD?
No. Ugh. Shame. Miss. Arghhh! Needs full, project and incremental with 'fit to DVD' so that multiple DVD's can be used without being a math genius.
To my mind, step 1 in the workflow is backup masters to DVD, which cannot be done within AP. Both are needed.
Thanks Taylor -
ASK: Forms Server deploy strategie and version controlling...
hi:
I would like to ask people around how could i have a good forms deploy strategie that would allow me to upgrade forms fmx versions even if users where connected to forms server.
I have used hearbeat option to disconnect ifbweb60 processes, but without success. That processes just stop/end when i close all IE windows of the user that's connected to that process and not when i close that single forms browser window. May be the heartbeat is working wrongly and "thinks" that the window still open... i dont know...
How "you" users around the world deploy your forms? how you controll and upgrade them ? do you need that all users should be disconnected from forms server to upgrade ?
thankx in advance...
ricardooops to get old versions of jre have to use:
https://java.sun.com/products/archive/ -
Backup and Anti-virus Questions
Hello Lenovo community!
It has been about 3 weeks since my 430s arrived in the mail to my doorstep and I have enjoyed every minute of this product immensely compared to my old laptop.
However, as of late I've been getting this weird 'backup' pop that appears telling me my harddisk is full. But when I check my system it doesn't display as full.
It says I have used 84.8 GB out of 198 GB. I don't understand how that's full.
My anti-virus question is..well..I have Avira installed but whenever I try and turn it on, nothing happens? Why is this?
Thanks.lenfall wrote:
Only one antivirus software can run at a time. I guess you uninstalled the one preinstalled by Lenovo. I use Microsoft's security essential. It is free and fine.
I agree, lenfall. I like MSE and ESET's NOD32. All AV's have their "moments" with false positives and other issues at one time or another. The tests can be different depending on several variables and who is running them.
Example: http://www.zdnet.com/blog/security/avira-antivirus-update-cripples-millions-of-windows-pcs/12129
ThinkPad: T530 / X1 Gen 2 / Helix - Yoga: Tablet 2 Pro (Win) / Yoga 3 Pro
If you find a post helpful and it answers your question, please click the "Accept As Solution" button.
Lenovo Advocate ~ I am not employed by Lenovo or Microsoft. I am a volunteer.
Microsoft MVP - Consumer Security
SpywareHammer -
Contact page and Version name question
When making a contact sheet, is it possible to just have the image number under each photo and NOT the words "Version Name"?
Thanks.I'm trying to find out whether this is possible as well. It's annoying having "Version Name" print out on something I'd like to show a client!
Maybe you are looking for
-
Can I used an older iPod with iTunes Match
I have an older iPod Classic running version 1.3. Can it be upgraded so that it can sync with iTunes Match?
-
Hello everybody, I've been using Time Machine ever since Leopard came out and I never had a problem. However, things started to get messy recently. Leopard keeps telling me that my external drive is read only when I mount it. I googled for a solution
-
Why do we have to use the sales area?
Dear experts, I was looking for SAP Documentation but couldn't find anything relevant. I'm using CRM 5.0 and ERP 2005. I'd like to implement the following scenario: - Create BP / BA / Technical Object and contract in CRM - Replication in ISU - In ISU
-
Embed Animated Flash Objects (*.swf file) in Oracle Forms.
Hello All, To Embed Animated Flash Object (Shockwave *.swf File) in Oracle Forms, Please Follow the Steps Below. 1. Draw "ActiveX Control" Item on Canvas with the Name "OCXITM". 2. Select "ActiveX Control" Item & Go to its Properties (By Pressing F4)
-
Why does My I-pad drop the internet when I open several sites.
My I-pad drops the internet when I open several sites. Why?