Regular Backup Script for Apache Derby - backup

Apache database hosted in a virtual server to be used with a JSF and JPA application.It there any method where regular back ups can be performed, for example once a day? Like an script?

Here's a lot of information about making backups of a Derby database: http://db.apache.org/derby/docs/10.9/adminguide/cadminhubbkup98797.html
Choose a backup method that works well for you, then use your operating system's scheduling tools (cron, etc.) to arrange for that backup to be performed regularly.

Related

Perform a full environment automatic backup

does anybody know a way to perform a periodic remote backup of the full environment (so comprehensive of the application servers and SQL databases) in Jelastic?
I wanted to use Google Drive to store the backups as I was already using it with Plesk.
Thanks.

Can I set SQL Azure Vunerability Assesment at a server level instead of database level?

So Recently I found a pretty neat feature where SQL Azure can schedule vunerability assesment scans regularly
To configure this you must go onto each database on your server and configure the storage and who you want to receive the reports.
Lets say I have 100 databases - this is going to take a very long time. Is there a way I can set the Vunerability scan at a server level.
Or failing that a script that can set this scan up (prefereably SQL script if possible)?
Yes, you can configure this at the server level as shown below.
However, periodic scans can only be configured at the database level. Azure SQL Database team mentioned that they will provide more options to run scans and analyze results at scale. The currently available option is to use ARM APIs via the Azure SQL Management SDK library.
Azure SQL Database team mentioned also that PowerShell cmdlets will be released in the near future to enable automation via PowerShell Scripts, and as they make more progress the ability to run at scale will be available via the portal as well.
Currently in SQL Vulnerability Assessment, the target storage and periodic scans can be configured only at the database level.
As the feature develops, we will provide more options to run scans and analyze results at scale.
The currently available option is to use ARM APIs via the Azure SQL management SDK: https://www.nuget.org/packages/Microsoft.Azure.Management.Sql
Powershell cmdlets will be released in the near future to enable automation via Powershell scripts.
And as we make more progress, the ability to run at scale will be available via the portal as well.
In the meantime, we’re very glad to get further feedback on the current functionality of VA and additional feature requests.

Azure backup database (sql dump file)

I am using azure server for sql database.
I want to enabled backup database daily.
And also need to dump sql file for current database and other images uploaded to server.
Any suggestions please?
You can install backup software to your azure server and backup your SQL server to azure cloud storage. There are plenty such software (Duplicati, CloudBerry, Acronis etc).
Some of them have special features to backup SQL server in a proper way, also there are free versions among them.
You can do this in a different ways. You can use the third party applications and schedule backup jobs. Or you can use the native tools and configure everything by your-self. Hope this will be useful for you.
Since you're going down the Azure services route, for the images you had ought to look at Azure Blob Storage
And to back it up...Look at this answer
I know that Cloudberry works with Azure. You can try this software for doing backups daily both full image or icnremental backup.The price is afforable. The tool's simple. I see the person above has already mentioned Cloudberry. Seems to be a good thing.

How do backups work in DirectAdmin?

I'm sure there's a good amount of developers here that use DirectAdmin and I had a quick question.
I've always used cPanel and I'm not on a server that is using DirectAdmin instead. Where in DirectAdmin can you generate a full backup of the account at the user level?
Also, do DirectAdmin backups include everything related to the account like cPanel backups do? For example, not only the files and databases but also the cron jobs, DNS zones, email accounts, etc.?
And where are the backups stored by default? Is there an option to send the backups to a remote server via FTP like you can with cPanel?
There are two different backup systems built into DA:
Admin Tools | System Backup. This tool lets you backup configuration data and arbitrary directories, locally or using FTP or SCP.
Admin Tools | Admin Backup/Transfer. This tool is oriented toward backing up data account by account, in one archive per account, in a format that you can use to restore from (in the same tool) on the original or another DA server (i.e. if you want to transfer to a new server). You can back up locally and/or via FTP.
Both options can also be scheduled via cron.
Depending on your level of access, only one of these might be available to you. This page has further info for non-administrators: http://www.site-helper.com/backup.html.
You can improve your DirectAdmin backup with an incremental backup plugin that includes local and remote backup location, please check the setup guide here

Hyper-V snapshot backup strategy appropriate for production SQL server?

So SQL Server 2008 in Hyper-V is a supported configuration, and should perform well as long as you use fixed or pass-through disks and increase your processor/memory settings appropriately. My question is can I use snapshots as a reliable backup mechanism, or should I use the tried and trusted maintenance plan to do my backups?
You should NOT use Hyper-V snapshots as your backup strategy for SQL. Stick with something (built-in or otherwise) that will do SQL aware backups.
Hyper-V snapshots (in my opinion) should only be used on production servers for very short term disaster recovery. If you're doing an upgrade, do a snapshot first, immediately test when done, then ditch the snapshot. This sort of thing should be done along side your regular backups, not in place of it.
If you were to move to Hyper-V snapshots as your sole backup strategy, you'd lose the ability to restore your databse to another server & do point in time restores of the database - among other things that I'm sure I'm just not thinking of now.
Virtualization Snapshots for Hyper-V or any virtualization vendor are not supported to use with SQL Server in a virtual machine. It is possible that you may not encounter any problems when using snapshots and SQL Server, but Microsoft will not provide technical support to SQL Server customers for a virtual machine that was restored from a snapshot
http://support.microsoft.com/kb/956893/en-us