User contributions for Karavi

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

25 April 2025

  • 09:1709:17, 25 April 2025 diff hist +572 N Portainer docker composeCreated page with "Create a docker-compose.yml file similar to this: services: portainer: image: portainer/portainer-ce:latest container_name: portainer restart: unless-stopped security_opt: - no-new-privileges:true volumes: - /etc/localtime:/etc/localtime:ro - /var/run/docker.sock:/var/run/docker.sock:ro - ./portainer-data:/data ports: - 9000:9000 Bring up your stack by running docker-compose up -d Log in to the Admi..." current
  • 09:1509:15, 25 April 2025 diff hist −56 Nginx proxy manager docker composeNo edit summary current

9 April 2025

8 April 2025

1 April 2025

30 March 2025

28 March 2025

14 January 2025

11 January 2025

  • 10:4310:43, 11 January 2025 diff hist +400 N Sql ShrinkCreated page with "→‎Script to shrink all databases: declare @db varchar(255) declare c cursor for select name from sys.databases where is_read_only=0 and state=0 and name not in ('master','model','tempdb','msdb') open c fetch c into @db while @@fetch_status=0 begin exec SP_dboption @db,'trunc. log on chkpt.','true' DBCC shrinkdatabase (@db,10) fetch next from c into @db end close c deallocate c" current
  • 10:3510:35, 11 January 2025 diff hist +1,326 N Sql Backup DailyCreated page with " DECLARE @path VARCHAR(256) DECLARE @DBName varchar(255) DECLARE @DATABASES_Fetch int SET @path = 'E:\BANK_MS_SQL_Daily\' +CONVERT(VARCHAR(20),GETDATE(),112)+'_'+ replace(convert(varchar, getdate(),108),':','-')+'\' EXEC master.sys.xp_create_subdir @path DECLARE DATABASES_CURSOR CURSOR FOR select DATABASE_NAME = db_name(s_mf.database_id) from sys.master_files s_mf where -- ONLINE s_mf.state = 0 -- Only look at d..." current

8 December 2024

(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)