fsync

command module
v0.0.0-...-a7417c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

README

fsync

Remote file sync utility

CREATE TABLE DataSourceTypes(
    id integer primary key,
    Type varchar(500) unique
);

CREATE TABLE ConnectionInfo(
    id integer primary key,
    [Name] varchar(500) unique,
    UserName varchar(500),
    Password nvarchar(500),
    Passkey varchar(2000)
);

CREATE TABLE DestInfo(
    id integer primary key,
    [Name] varchar(500) unique,
    DestType varchar(500),
    DestConnStr varchar(5000),
    [Path] varchar(5000),
    ConnId integer,
    FOREIGN KEY(DestType) REFERENCES DataSourceTypes(Type),
    FOREIGN KEY(ConnId) REFERENCES ConnectionInfo(id)
);

CREATE TABLE SourceInfo(
    id integer primary key,
    [Name] varchar(500) unique,
    SourceType varchar(500),
    SourceConnStr varchar(5000),
    [Path] varchar(5000),
    ConnId integer,
    FOREIGN KEY(SourceType) REFERENCES DataSourceTypes(Type),
    FOREIGN KEY(ConnId) REFERENCES ConnectionInfo(id)
);

CREATE TABLE DataCopyTasks(
    id integer primary key,
    TaskName varchar(500) unique,
    Schedule varchar(200),
    SourceId integer,
    DestId integer,
    Details nvarchar(max),
    FOREIGN KEY(SourceId) REFERENCES SourceInfo(id),
    FOREIGN KEY(DestId) REFERENCES DestInfo(id)
)

CREATE TABLE TransformOps(
    id integer primary key,
    [Name] varchar(500) unique,
    SourceDelimiter varchar(10),
    DestDelimiter varchar(10)
)

Documentation

Overview

Copyright © 2021 NAME HERE <EMAIL ADDRESS>

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL