{"id":22214374,"url":"https://github.com/zstyblik/net-bak","last_synced_at":"2025-10-26T07:37:45.859Z","repository":{"id":24054409,"uuid":"27440238","full_name":"zstyblik/net-bak","owner":"zstyblik","description":"set of very simple scripts for backing-up OpenWRT  devices over the network","archived":false,"fork":false,"pushed_at":"2014-12-02T16:09:42.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T06:29:00.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zstyblik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-02T16:00:07.000Z","updated_at":"2014-12-02T16:09:42.000Z","dependencies_parsed_at":"2022-08-22T08:40:44.269Z","dependency_job_id":null,"html_url":"https://github.com/zstyblik/net-bak","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zstyblik/net-bak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zstyblik%2Fnet-bak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zstyblik%2Fnet-bak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zstyblik%2Fnet-bak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zstyblik%2Fnet-bak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zstyblik","download_url":"https://codeload.github.com/zstyblik/net-bak/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zstyblik%2Fnet-bak/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281074242,"owners_count":26439421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T21:16:07.344Z","updated_at":"2025-10-26T07:37:45.833Z","avatar_url":"https://github.com/zstyblik.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README file for net-bak:\n\nnet-bak is a set of very simple scripts for backing-up OpenWRT devices over\nthe network.\n\n## Requirements\n\n* ssh ~ at server\n* mailx ~ at server\n* tar ~ at OpenWRT node\n\n\n## How-to use it\n\n1. run ``% net-bak.sh -n mynode;`` and answer questions\n2. upload user's key, files2backup.txt, net-bak-node.sh to node\n3. you may test configuration either by:\n  3. running ``% net-bak.sh -t;`` which is going to try to connect to node\n  3. running ``% net-bak.sh -1 mynode;`` which is going to try to backup given node\n4. set-up cron for given user\n\n\n## Directory structure:\n\n```\n\\\n|- mynode\n|  `- .node\n|- logs\n|  `- logfile-date.log\n|\n|- files2backup.txt\n|- net-bak-node.sh\n|- net-bak.sh\n`- nodes2backup.txt\n```\n\n* files2backup.txt ~ files to back-up from node\n* net-bak-node.sh ~ upload this script to node; executed via SSH\n* net-bak.sh ~ main script executed at server\n* nodes2backup.txt ~ list of names of nodes which corresponds with dir struct.\n\n\n## .node file\n\nStructure:\n```shell\nNODEIP='1.2.3.4'\nNODEWR='n'\nNODEADMIN='root@domain.tld'\n```\n\n* NODEIP ~ IP address or FQDN of the node\n* NODEWR ~ whether node is running OpenWRT White Russian or not\n* NODEADMIN ~ whom to contact in case of problems (unused)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzstyblik%2Fnet-bak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzstyblik%2Fnet-bak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzstyblik%2Fnet-bak/lists"}