X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=server%2Fruntime%2Forg.argeo.server.core%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fserver%2Fbackup%2FSystemBackup.java;h=92f73c7a6847837b70226b17cbcd740aa6b04fa6;hb=268d1f9bd80e47623f71a2496cf8959876cf6c00;hp=a8149ee54d18fd5ba1837969d7d57c95d7ab101d;hpb=a49ea54cef01bfd8b57aa235e3d69ae5ed243147;p=lgpl%2Fargeo-commons.git diff --git a/server/runtime/org.argeo.server.core/src/main/java/org/argeo/server/backup/SystemBackup.java b/server/runtime/org.argeo.server.core/src/main/java/org/argeo/server/backup/SystemBackup.java index a8149ee54..92f73c7a6 100644 --- a/server/runtime/org.argeo.server.core/src/main/java/org/argeo/server/backup/SystemBackup.java +++ b/server/runtime/org.argeo.server.core/src/main/java/org/argeo/server/backup/SystemBackup.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2007-2012 Argeo GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.argeo.server.backup; import java.util.ArrayList; @@ -182,6 +197,12 @@ public class SystemBackup implements Runnable { MySqlBackup mySqlBackup = new MySqlBackup("root", "", "test"); atomicBackups.add(mySqlBackup); + PostgreSqlBackup postgreSqlBackup = new PostgreSqlBackup( + "argeo", "argeo", "gis_template"); + atomicBackups.add(postgreSqlBackup); + SvnBackup svnBackup = new SvnBackup( + "/home/mbaudier/tmp/testsvnrepo"); + atomicBackups.add(svnBackup); systemBackup.setAtomicBackups(atomicBackups);